GamingMode: Menu and QS background improvement
- Make menu background slightly rounded
- Restore previously derped semi-transparent QS background
Signed-off-by: Nauval Rizky <enuma.alrizky@gmail.com>
diff --git a/app/src/main/res/color/qs_background_colors.xml b/app/src/main/res/color/qs_background_colors.xml
index bb7c365..47c021e 100644
--- a/app/src/main/res/color/qs_background_colors.xml
+++ b/app/src/main/res/color/qs_background_colors.xml
@@ -1,4 +1,4 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@*android:color/accent_device_default_light" android:state_selected="true" />
- <item android:color="@color/gamingMenuBackground" android:state_selected="false" />
-</selector>
\ No newline at end of file
+ <item android:color="@color/qs_background_color_inactive" android:state_selected="false" />
+</selector>
diff --git a/app/src/main/res/drawable/menu_background.xml b/app/src/main/res/drawable/menu_background.xml
new file mode 100644
index 0000000..958348f
--- /dev/null
+++ b/app/src/main/res/drawable/menu_background.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android">
+ <solid android:color="@android:color/black"/>
+ <corners android:radius="6dp"/>
+</shape>
diff --git a/app/src/main/res/layout/gaming_overlay_layout.xml b/app/src/main/res/layout/gaming_overlay_layout.xml
index 118954a..7d4356f 100644
--- a/app/src/main/res/layout/gaming_overlay_layout.xml
+++ b/app/src/main/res/layout/gaming_overlay_layout.xml
@@ -11,7 +11,7 @@
android:id="@+id/gaming_menu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:background="@color/gamingMenuBackground">
+ android:background="@drawable/menu_background">
<LinearLayout
android:layout_width="match_parent"
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 305e4c2..4811fda 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -3,6 +3,7 @@
<color name="colorPrimary">#6200EE</color>
<color name="colorPrimaryDark">#3700B3</color>
<color name="colorAccent">#03DAC5</color>
- <color name="gamingMenuBackground">#000000</color>
+ <color name="qs_background_color_active">@*android:color/accent_device_default_light</color>
+ <color name="qs_background_color_inactive">#66000000</color>
<color name="GM2_grey_700">#5F6368</color>
</resources>