shape 可以定义四种形状,在其自身属性android:shape设置
android:shape=“rectangle” //矩形
android:shape=“line” //线
android:shape=“oval” //椭圆
android:shape=“ring” //圆
shape 还有多种子节点
corners // 圆角
solid // 填充色
padding
size
gradient
stroke
shape 可以定义四种形状,在其自身属性android:shape设置
android:shape=“rectangle” //矩形
android:shape=“line” //线
android:shape=“oval” //椭圆
android:shape=“ring” //圆
shape 还有多种子节点
corners // 圆角
solid // 填充色
padding
size
gradient
stroke