質問編集履歴
1
追記、このように修正して枠線と背景が表示されました。 ご教授ありがとうございました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -53,3 +53,43 @@
|
|
53
53
|
</selector>
|
54
54
|
|
55
55
|
```
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
```
|
60
|
+
|
61
|
+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
<item android:state_pressed="true">
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
<shape android:shape="rectangle">
|
70
|
+
|
71
|
+
<stroke android:width="0.5dp" android:color="#696969"/>
|
72
|
+
|
73
|
+
<solid android:color="#808080" />
|
74
|
+
|
75
|
+
</shape>
|
76
|
+
|
77
|
+
</item>
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<item android:state_pressed="false">
|
82
|
+
|
83
|
+
<shape android:shape="rectangle">
|
84
|
+
|
85
|
+
<stroke android:width="0.5dp" android:color="#696969"/>
|
86
|
+
|
87
|
+
<solid android:color="#c0c0c0" />
|
88
|
+
|
89
|
+
</shape>
|
90
|
+
|
91
|
+
</item>
|
92
|
+
|
93
|
+
</selector>
|
94
|
+
|
95
|
+
```
|