-
Notifications
You must be signed in to change notification settings - Fork 76
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
Kale
committed
Apr 27, 2018
1 parent
6040e25
commit cfdc9c3
Showing
3 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
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,6 +1,32 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape android:shape="rectangle" | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
> | ||
|
||
</shape> | ||
<!-- 低版本显示不了水波纹,这里用了一个形状来代替 --> | ||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<item> | ||
<shape | ||
android:innerRadius="15px" | ||
android:shape="ring" | ||
android:thickness="4px" | ||
android:useLevel="false" | ||
> | ||
|
||
<solid android:color="@color/colorAccent" /> | ||
</shape> | ||
</item> | ||
|
||
<item | ||
android:bottom="20px" | ||
android:left="20px" | ||
android:right="20px" | ||
android:top="20px" | ||
> | ||
<shape android:shape="oval"> | ||
<size | ||
android:width="20px" | ||
android:height="20px" | ||
/> | ||
|
||
<solid android:color="@color/colorPrimary" /> | ||
</shape> | ||
</item> | ||
</layer-list> |
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