Skip to content

Commit e79dac5

Browse files
author
hongyangAndroid
committed
fix 部分背景无填充色
1 parent fc02f1d commit e79dac5

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

autolayout/autolayout.iml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<module external.linked.project.id=":autolayout" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="com.zhy" external.system.module.version="1.3.3" type="JAVA_MODULE" version="4">
2+
<module external.linked.project.id=":autolayout" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="com.zhy" external.system.module.version="1.3.4" type="JAVA_MODULE" version="4">
33
<component name="FacetManager">
44
<facet type="android-gradle" name="Android-Gradle">
55
<configuration>

sample/src/main/res/drawable/selector_btn_stroke_orange.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<selector xmlns:android="http://schemas.android.com/apk/res/android">
33

44
<item android:drawable="@drawable/shape_btn_edge_orange_pre" android:state_pressed="true"></item>
5-
<item android:drawable="@drawable/shape_btn_edge_orange" android:state_pressed="false"></item>
5+
<item android:drawable="@drawable/shape_btn_edge_orange" ></item>
66

77
</selector>

sample/src/main/res/drawable/shape_btn_edge_orange.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
<corners android:radius="3dp" />
66

7+
<solid android:color="#FFFFFF" />
8+
79
<stroke
810
android:width="1dp"
911
android:color="@color/btn_bg" />

sample/src/main/res/drawable/shape_edit_stroke.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
android:width="0.8dp"
77
android:color="#d7d7d7" />
88

9+
<solid android:color="#ffffff"/>
10+
911
<corners android:radius="3dp" />
1012

1113
</shape>

0 commit comments

Comments
 (0)