|
@@ -1,25 +1,33 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<selector
|
|
|
- xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
- <item android:state_pressed="true">
|
|
|
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
+<item android:state_pressed="true">
|
|
|
<shape android:shape="rectangle">
|
|
|
- <stroke android:width="1.0dip" android:color="#ff2abfff" />
|
|
|
+ <stroke
|
|
|
+ android:width="1dp"
|
|
|
+ android:color="#2abfff" />
|
|
|
+
|
|
|
<corners android:topLeftRadius="25.0dip" android:topRightRadius="25.0dip" android:bottomLeftRadius="25.0dip" android:bottomRightRadius="25.0dip" />
|
|
|
- <gradient android:startColor="#ffd6d6d6" android:endColor="#ffd6d6d6" android:angle="270.0" />
|
|
|
+ <gradient android:startColor="#d6d6d6" android:endColor="#d6d6d6" android:angle="270.0" />
|
|
|
</shape>
|
|
|
</item>
|
|
|
- <item android:state_focused="true">
|
|
|
+ <item android:state_focused="true"> <!-- 焦点 -->
|
|
|
<shape android:shape="rectangle">
|
|
|
- <stroke android:width="1.0dip" android:color="#ff2abfff" />
|
|
|
+ <stroke
|
|
|
+ android:width="1dp"
|
|
|
+ android:color="#2abfff" />
|
|
|
+
|
|
|
<corners android:topLeftRadius="25.0dip" android:topRightRadius="25.0dip" android:bottomLeftRadius="25.0dip" android:bottomRightRadius="25.0dip" />
|
|
|
- <gradient android:startColor="#ffd6d6d6" android:endColor="#ffd6d6d6" android:angle="270.0" />
|
|
|
+ <gradient android:startColor="#d6d6d6" android:endColor="#d6d6d6" android:angle="270.0" />
|
|
|
</shape>
|
|
|
</item>
|
|
|
- <item>
|
|
|
+ <item > <!-- 无焦点 -->
|
|
|
<shape android:shape="rectangle">
|
|
|
- <stroke android:width="1.0dip" android:color="#ff2abfff" />
|
|
|
+ <stroke
|
|
|
+ android:width="1dp"
|
|
|
+ android:color="#2abfff" />
|
|
|
+
|
|
|
<corners android:topLeftRadius="25.0dip" android:topRightRadius="25.0dip" android:bottomLeftRadius="25.0dip" android:bottomRightRadius="25.0dip" />
|
|
|
- <gradient android:startColor="#ffffffff" android:endColor="#ffffffff" android:angle="270.0" />
|
|
|
+ <gradient android:startColor="#ffffff" android:endColor="#ffffff" android:angle="270.0" />
|
|
|
</shape>
|
|
|
</item>
|
|
|
-</selector>
|
|
|
+</selector>
|