|
@@ -1,8 +1,6 @@
|
1
|
1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
2
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
3
|
|
- <item
|
4
|
|
- android:left="2dp"
|
5
|
|
- android:top="2dp">
|
|
3
|
+ <item>
|
6
|
4
|
<shape android:shape="rectangle">
|
7
|
5
|
<!--这里可以是梯度的值,也可以是solid,看实际的效果自己调测-->
|
8
|
6
|
<gradient
|
|
@@ -11,17 +9,16 @@
|
11
|
9
|
android:centerY="50"
|
12
|
10
|
android:endColor="#E9F4FD"
|
13
|
11
|
android:startColor="#DCF1FF" />
|
14
|
|
- <corners
|
15
|
|
- android:radius="13dp" />
|
|
12
|
+ <corners android:radius="13dp" />
|
16
|
13
|
</shape>
|
17
|
14
|
</item>
|
18
|
15
|
|
19
|
|
- <item
|
20
|
|
- android:bottom="2dp"
|
21
|
|
- android:right="2dp">
|
|
16
|
+ <item>
|
22
|
17
|
<shape android:shape="rectangle">
|
23
|
18
|
<solid android:color="#99FFFFFF" />
|
24
|
|
- <stroke android:width="2dp" android:color="@color/white"/>
|
|
19
|
+ <stroke
|
|
20
|
+ android:width="2dp"
|
|
21
|
+ android:color="@color/white" />
|
25
|
22
|
<corners android:radius="13dp" />
|
26
|
23
|
</shape>
|
27
|
24
|
</item>
|