summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/res/drawable/cust_button_primary_black.xml18
-rw-r--r--app/src/main/res/drawable/cust_button_primary_black_pressed.xml8
-rw-r--r--app/src/main/res/drawable/cust_button_primary_black_released.xml17
3 files changed, 27 insertions, 16 deletions
diff --git a/app/src/main/res/drawable/cust_button_primary_black.xml b/app/src/main/res/drawable/cust_button_primary_black.xml
index fc42dbc5..d43237a1 100644
--- a/app/src/main/res/drawable/cust_button_primary_black.xml
+++ b/app/src/main/res/drawable/cust_button_primary_black.xml
@@ -1,18 +1,4 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:state_pressed="true">
- <shape android:shape="rectangle">
- <corners android:radius="16dp"/>
- <solid android:color="@color/black800_secondary"/>
- </shape>
- </item>
-
- <item>
- <shape android:shape="rectangle">
- <corners android:radius="16dp"/>
- <solid android:color="@color/black800"/>
- </shape>
- </item>
-
-
-
+ <item android:state_pressed="true" android:drawable="@drawable/cust_button_primary_black_pressed"/>
+ <item android:drawable="@drawable/cust_button_primary_black_released"/>
</selector> \ No newline at end of file
diff --git a/app/src/main/res/drawable/cust_button_primary_black_pressed.xml b/app/src/main/res/drawable/cust_button_primary_black_pressed.xml
new file mode 100644
index 00000000..38c0aa36
--- /dev/null
+++ b/app/src/main/res/drawable/cust_button_primary_black_pressed.xml
@@ -0,0 +1,8 @@
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true">
+ <shape android:shape="rectangle">
+ <corners android:radius="16dp"/>
+ <solid android:color="@color/black800_secondary"/>
+ </shape>
+ </item>
+</layer-list> \ No newline at end of file
diff --git a/app/src/main/res/drawable/cust_button_primary_black_released.xml b/app/src/main/res/drawable/cust_button_primary_black_released.xml
new file mode 100644
index 00000000..578e0424
--- /dev/null
+++ b/app/src/main/res/drawable/cust_button_primary_black_released.xml
@@ -0,0 +1,17 @@
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true">
+ <shape android:shape="rectangle">
+ <corners android:radius="16dp"/>
+ <solid android:color="@color/black800_transparent"/>
+ </shape>
+ </item>
+
+ <item
+ android:bottom="@dimen/button_bevel"
+ >
+ <shape android:shape="rectangle">
+ <corners android:radius="16dp"/>
+ <solid android:color="@color/black800"/>
+ </shape>
+ </item>
+</layer-list> \ No newline at end of file