Created
February 13, 2015 10:50
-
-
Save notdrone-1/58e0423d4e7e00488a8d to your computer and use it in GitHub Desktop.
Adding gradient
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"?> | |
<shape | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:shape="rectangle"> | |
<gradient | |
android:startColor="@color/material_blue_grey_800" | |
android:endColor="@color/material_deep_teal_500" | |
android:angle="-45"/> | |
</shape> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in the fragment add background="@drawable/gradient.xm;