-
Notifications
You must be signed in to change notification settings - Fork 591
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
xiaoyao
committed
Jul 27, 2017
1 parent
56cba60
commit 3f39b50
Showing
12 changed files
with
153 additions
and
14 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:shape="oval" | ||
> | ||
|
||
<solid android:color="@color/red_btn" /> | ||
|
||
<size | ||
android:width="20dp" | ||
android:height="20dp" /> | ||
</shape> |
14 changes: 14 additions & 0 deletions
14
app/src/main/res/drawable-xxhdpi/shape_cycle_rectangle.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:shape="rectangle"> | ||
|
||
<solid android:color="@color/red_btn" /> | ||
|
||
<corners android:radius="5dp" /> | ||
|
||
<padding | ||
android:bottom="2dp" | ||
android:left="4dp" | ||
android:right="4dp" | ||
android:top="2dp" /> | ||
</shape> |
17 changes: 17 additions & 0 deletions
17
app/src/main/res/drawable-xxhdpi/shape_cycle_rectangle_download.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:shape="rectangle"> | ||
|
||
<solid android:color="@color/white" /> | ||
|
||
<corners android:radius="2dp" /> | ||
|
||
<stroke | ||
android:width="1dp" | ||
android:color="@color/colorPrimary" /> | ||
<padding | ||
android:bottom="3dp" | ||
android:left="10dp" | ||
android:right="10dp" | ||
android:top="3dp" /> | ||
</shape> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:shape="oval"> | ||
|
||
<solid android:color="@color/red_btn" /> | ||
|
||
<size | ||
android:width="15dp" | ||
android:height="15dp" /> | ||
</shape> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- 按钮的选择器,可以设置按钮在不同状态下的时候,按钮不同的颜色 --> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android" > | ||
<?xml version="1.0" encoding="utf-8"?><!-- 按钮的选择器,可以设置按钮在不同状态下的时候,按钮不同的颜色 --> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<item android:state_checked="true" android:drawable="@drawable/green_thumb" /> | ||
<item android:drawable="@drawable/gray_thumb" /> | ||
<item android:drawable="@drawable/green_thumb" android:state_checked="true" /> | ||
<item android:drawable="@drawable/gray_thumb" /> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- 底层下滑条的样式选择器,可控制Switch在不同状态下,底下下滑条的颜色 --> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android" > | ||
<item android:state_checked="true" android:drawable="@drawable/green_track" /> | ||
<item android:drawable="@drawable/gray_track" /> | ||
<?xml version="1.0" encoding="utf-8"?><!-- 底层下滑条的样式选择器,可控制Switch在不同状态下,底下下滑条的颜色 --> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:drawable="@drawable/green_track" android:state_checked="true" /> | ||
<item android:drawable="@drawable/gray_track" /> | ||
|
||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters