diff options
author | cyberta <cyberta@riseup.net> | 2018-08-17 04:51:32 -0700 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2018-08-17 04:51:32 -0700 |
commit | 0616d90013cd3ecac6dc97d7f9aced381578fea1 (patch) | |
tree | 883d936edfd1cda9074172c4c6d2e3de5d954042 /app/src/main/res/drawable/cust_button_primary.xml | |
parent | 7434a53d0c2545375ff9844a510c9fc8b09948f0 (diff) | |
parent | 49a2d6f3c7d4afbd645f524c3be60f0f0ac13311 (diff) |
Merge branch 'customisation_feature' into 'master'
Customisation Feature
See merge request leap/bitmask_android!78
Diffstat (limited to 'app/src/main/res/drawable/cust_button_primary.xml')
-rw-r--r-- | app/src/main/res/drawable/cust_button_primary.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/cust_button_primary.xml b/app/src/main/res/drawable/cust_button_primary.xml new file mode 100644 index 00000000..3b0f7e26 --- /dev/null +++ b/app/src/main/res/drawable/cust_button_primary.xml @@ -0,0 +1,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>
\ No newline at end of file |