Created
August 23, 2020 17:42
-
-
Save CodeBoy722/b1cfda49bd6cc16adc72ed68bcb14735 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
<!-- redesign with your own drawables to fit your taste--> | |
<item> | |
<shape | |
android:shape="oval"> | |
<!-- replace with your own colors--> | |
<gradient | |
android:type="linear" | |
android:angle="45" | |
android:startColor="#3399CC" | |
android:centerColor="#3700B3" | |
android:endColor="#FFFFFF" /> | |
<padding android:right="15dp" android:left="15dp" android:bottom="15dp" android:top="15dp"/> | |
<size | |
android:width="56dp" | |
android:height="56dp" /> | |
</shape> | |
</item> | |
<item android:gravity="center"> | |
<!-- replace with your own image --> | |
<bitmap android:src="@drawable/ic_red_cross" | |
android:tint="#FFFFFF" | |
android:gravity="center" /> | |
</item> | |
</layer-list> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment