Some background resource lost is fixed.

This commit is contained in:
dxl
2020-07-03 16:41:07 +08:00
parent 867fe890a1
commit ecf3651772
3 changed files with 37 additions and 0 deletions
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/shape_bg_blue_800" android:state_pressed="true" />
<item android:drawable="@drawable/shape_bg_blue_600" />
</selector>
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"
android:useLevel="true">
<!-- 矩形圆角+左右两边为一个圆弧 -->
<!--<size
android:width="40dp"
android:height="40dp" />-->
<solid android:color="@color/md_blue_600" />
<!-- 圆角半径是高度的一般就是一个圆弧了 -->
<corners android:radius="5dp" />
</shape>
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"
android:useLevel="true">
<!-- 矩形圆角+左右两边为一个圆弧 -->
<!--<size
android:width="40dp"
android:height="40dp" />-->
<solid android:color="@color/md_blue_800" />
<!-- 圆角半径是高度的一般就是一个圆弧了 -->
<corners android:radius="5dp" />
</shape>