Skip to content

Instantly share code, notes, and snippets.

@hosseiniSeyRo
Last active April 18, 2020 10:46
Show Gist options
  • Save hosseiniSeyRo/9ae8e12ff445dd8e56daed069322034d to your computer and use it in GitHub Desktop.
Save hosseiniSeyRo/9ae8e12ff445dd8e56daed069322034d to your computer and use it in GitHub Desktop.
drawable
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid android:color="@color/numbersCircleBG" />
<size
android:width="120dp"
android:height="120dp" />
</shape>
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:type="linear"
android:angle="270"
android:startColor="@color/colorPrimary"
android:endColor="@color/colorPrimaryDark" />
</shape>
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@android:color/white" />
<corners
android:bottomLeftRadius="0dp"
android:bottomRightRadius="0dp"
android:topLeftRadius="12dp"
android:topRightRadius="12dp" />
</shape>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment