Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sharifulislam52/130ad2db4ffd8ca94afa137a76973573 to your computer and use it in GitHub Desktop.
Save sharifulislam52/130ad2db4ffd8ca94afa137a76973573 to your computer and use it in GitHub Desktop.
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="135"
android:centerColor="#009688"
android:endColor="#00695C"
android:startColor="#4DB6AC"
android:type="linear" />
</shape>
<!-- add bellow attribute into view for gradient background -->
android:background="@drawable/Android_Drawable_Color_Gradient"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment