summaryrefslogtreecommitdiff
path: root/app/src/main/res/drawable/cust_button_primary.xml
blob: 3b0f7e26ab3d325190e07b9eaea1c88a7b02c492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
    <item android:state_pressed="true" >
        <shape android:shape="rectangle"  >
            <corners android:radius="50dp" />
            <padding android:left="8dp" android:right="8dp"/>
            <solid android:color="@color/colorPrimaryDark"/>
        </shape>
    </item>
    <item android:state_focused="true">
        <shape android:shape="rectangle"  >
            <corners android:radius="50dp" />
            <padding android:left="8dp" android:right="8dp"/>
            <solid android:color="@color/colorPrimaryDark"/>
        </shape>
    </item>
    <item >
        <shape android:shape="rectangle"  >
            <corners android:radius="50dp" />
            <padding android:left="8dp" android:right="8dp"/>
            <solid android:color="@color/colorPrimary"/>
        </shape>
    </item>
</selector>