1 |
<?xml version="1.0" encoding="utf-8"?> |
2 |
<selector xmlns:android="http://schemas.android.com/apk/res/android" > |
3 |
<item android:state_pressed="true" > |
4 |
<shape android:shape="rectangle" > |
5 |
<corners android:radius="3dip" /> |
6 |
<stroke android:width="1dip" android:color="#5e7974" /> |
7 |
<gradient android:angle="-90" android:startColor="#b5e9ff" android:endColor="#509af6" /> |
8 |
</shape> |
9 |
</item> |
10 |
<item android:state_focused="true"> |
11 |
<shape android:shape="rectangle" > |
12 |
<corners android:radius="3dip" /> |
13 |
<stroke android:width="1dip" android:color="#5e7974" /> |
14 |
<solid android:color="#58857e"/> |
15 |
</shape> |
16 |
</item> |
17 |
<item > |
18 |
<shape android:shape="rectangle" > |
19 |
<corners android:radius="3dip" /> |
20 |
<stroke android:width="1dip" android:color="#5e7974" /> |
21 |
<gradient android:angle="-90" android:startColor="#b5e9ff" android:endColor="#509af6" /> |
22 |
</shape> |
23 |
</item> |
24 |
</selector> |