diff options
author | cyBerta <cyberta@riseup.net> | 2021-07-22 15:31:08 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2021-11-14 19:22:16 +0100 |
commit | 1e9202c3d929083220924f7c76ea01a2b6f6af9f (patch) | |
tree | eda2def77a2a7d135961689c5e5f7fd15a220132 /app/src/main/res/drawable/cust_button_primary_hard_rect.xml | |
parent | 5b4db114cb35c5c9012c744c82656b1071aacda0 (diff) |
first implementation of the gateway button, started to remove labels from EipFragment, implement method to get the avearage load of a location as an enum value
Diffstat (limited to 'app/src/main/res/drawable/cust_button_primary_hard_rect.xml')
-rw-r--r-- | app/src/main/res/drawable/cust_button_primary_hard_rect.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/cust_button_primary_hard_rect.xml b/app/src/main/res/drawable/cust_button_primary_hard_rect.xml new file mode 100644 index 00000000..93be5c18 --- /dev/null +++ b/app/src/main/res/drawable/cust_button_primary_hard_rect.xml @@ -0,0 +1,21 @@ +<?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" > + <padding android:left="8dp" android:right="8dp"/> + <solid android:color="@color/colorPrimaryDark"/> + </shape> + </item> + <item android:state_focused="true"> + <shape android:shape="rectangle" > + <padding android:left="8dp" android:right="8dp"/> + <solid android:color="@color/colorPrimaryDark"/> + </shape> + </item> + <item > + <shape android:shape="rectangle" > + <padding android:left="8dp" android:right="8dp"/> + <solid android:color="@color/colorPrimary"/> + </shape> + </item> +</selector>
\ No newline at end of file |