Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Saleh-At/ae8c7d29bf57897a4f1e0f0babb7afec to your computer and use it in GitHub Desktop.
Save Saleh-At/ae8c7d29bf57897a4f1e0f0babb7afec to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:gravity="center">
<shape android:shape="oval">
<gradient
android:centerColor="#80000000"
android:endColor="#00000000"
android:gradientRadius="90"
android:startColor="#ff000000"
android:type="radial" />
<size
android:width="100dp"
android:height="100dp" />
</shape>
</item>
<item android:gravity="center">
<shape android:shape="oval">
<solid android:color="#fff" />
<size
android:width="80dp"
android:height="80dp" />
</shape>
</item>
</layer-list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment