summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/main/res/drawable/black_circle.xml8
-rw-r--r--app/src/main/res/drawable/black_circle_pressed.xml10
-rw-r--r--app/src/main/res/drawable/black_circle_released.xml18
-rw-r--r--app/src/main/res/values/colors.xml2
4 files changed, 32 insertions, 6 deletions
diff --git a/app/src/main/res/drawable/black_circle.xml b/app/src/main/res/drawable/black_circle.xml
index 533652d6..f64c034d 100644
--- a/app/src/main/res/drawable/black_circle.xml
+++ b/app/src/main/res/drawable/black_circle.xml
@@ -1,9 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
-<item>
- <shape android:shape="oval">
- <solid android:color="@color/black800"/>
- <size android:width="250dp" android:height="250dp"/>
- </shape>
-</item>
+ <item android:drawable="@drawable/black_circle_pressed" android:state_pressed="true"/>
+ <item android:drawable="@drawable/black_circle_released"/>
</selector> \ No newline at end of file
diff --git a/app/src/main/res/drawable/black_circle_pressed.xml b/app/src/main/res/drawable/black_circle_pressed.xml
new file mode 100644
index 00000000..d7d646a0
--- /dev/null
+++ b/app/src/main/res/drawable/black_circle_pressed.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item>
+ <shape android:shape="oval">
+ <solid android:color="@color/black800_secondary"/>
+ <size android:width="250dp" android:height="250dp"/>
+ </shape>
+ </item>
+
+</layer-list> \ No newline at end of file
diff --git a/app/src/main/res/drawable/black_circle_released.xml b/app/src/main/res/drawable/black_circle_released.xml
new file mode 100644
index 00000000..b1ef3827
--- /dev/null
+++ b/app/src/main/res/drawable/black_circle_released.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+ <item>
+ <shape android:shape="oval">
+ <solid android:color="@color/black800_transparent"/>
+ <size android:width="250dp" android:height="250dp"/>
+ </shape>
+ </item>
+ <item
+ android:bottom="7dp"
+ android:right="5dp"
+ >
+ <shape android:shape="oval">
+ <solid android:color="@color/black800"/>
+ <size android:width="250dp" android:height="250dp"/>
+ </shape>
+ </item>
+</layer-list> \ No newline at end of file
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 40ab06c5..02a3a437 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -7,6 +7,8 @@
<color name="colorSuccess">#a5d6a7</color>
<color name="black800">#424242</color>
+ <color name="black800_secondary">#3b3b3b</color>
+ <color name="black800_transparent">#AA424242</color>
<color name="red200">#ef9a9a</color>
<color name="pink200">#f48fb1</color>