mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
27 lines
950 B
XML
27 lines
950 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
|
<item>
|
|
<!-- create gradient you want to use with the angle you want to use -->
|
|
<shape android:shape="rectangle" >
|
|
<gradient
|
|
android:angle="0"
|
|
android:startColor="@color/green_100"
|
|
android:endColor="@color/green_500" />
|
|
<corners android:radius="12dp" />
|
|
</shape>
|
|
</item>
|
|
<item
|
|
android:bottom="3dp"
|
|
android:left="3dp"
|
|
android:right="3dp"
|
|
android:top="3dp">
|
|
<shape
|
|
android:shape="rectangle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<solid android:color="@color/brand_400" />
|
|
<corners android:radius="10dp" />
|
|
</shape>
|
|
<ripple android:color="@color/white" />
|
|
</item>
|
|
</layer-list>
|