JLChen
2021-03-16 3617e6eecac94965554487afc50d39b0584324fb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle" >
 
    <!-- 高度30   此处设置宽度无效 -->
    <size android:height="60dp" />
    <!-- 圆角弧度 15 -->
    <corners android:radius="30dp" />
 
    <!-- 变化率  定义从左到右的颜色不变 -->
    <gradient
        android:endColor="#BABABA"
        android:startColor="#BABABA" />
 
</shape>