hch
2022-07-24 8acf6f219bb59b342c6560e5aed4f103aa83ea89
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <!--corners用于定义圆角,分为radius(全部圆角半径)、topLeftRadius、topRightRadius、bottomLeftRadius、bottomRightRadius-->
    <corners android:radius="6dp" />
    <gradient
        android:angle="270.0"
        android:endColor="#9f1111"
        android:startColor="#ff4545" />
 
</shape>