Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pranjalg2308/a5b4efcb1a5334757a741b055179998f to your computer and use it in GitHub Desktop.
Save pranjalg2308/a5b4efcb1a5334757a741b055179998f to your computer and use it in GitHub Desktop.
res/drawable
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:drawable="@color/white"/>
<item>
<bitmap
android:gravity="center"
android:src="@drawable/ic_icon"/>
</item>
</layer-list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment