Created
December 23, 2015 17:29
-
-
Save rygelouv/fad8d7a74168a7d7c232 to your computer and use it in GitHub Desktop.
A drawable xml file to get a circle background on a view on Android.
This file contains 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="oval" > | |
<gradient | |
android:startColor="@color/background" | |
android:endColor="@color/background" | |
android:angle="270"/> | |
</shape> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment