Skip to content

Instantly share code, notes, and snippets.

@vinodbaste
Created September 30, 2022 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vinodbaste/7a73fd448153d84e5fc6aea89fcc4cd9 to your computer and use it in GitHub Desktop.
Save vinodbaste/7a73fd448153d84e5fc6aea89fcc4cd9 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:drawable="@drawable/bg_gradient"/>
<item>
<bitmap
android:gravity="center"
android:src="@drawable/logo_art_1"/>
</item>
<item android:bottom="50dp"> // setting the image from bottom
<bitmap
android:gravity="bottom"
android:src="@drawable/logo_art_2"/>
</item>
</layer-list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment