Aperture: Grey out text for inactive camera mode buttons
Change-Id: Id307e51a053886c2779159bb0721691bf1b3eca0
diff --git a/app/src/main/res/color/camera_mode_selector_text.xml b/app/src/main/res/color/camera_mode_selector_text.xml
new file mode 100644
index 0000000..4d9525b
--- /dev/null
+++ b/app/src/main/res/color/camera_mode_selector_text.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:color="@color/dark_grey" android:state_enabled="true" />
+ <item android:color="@color/white" android:state_enabled="false" />
+</selector>
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
index 8380294..e636c73 100644
--- a/app/src/main/res/values/themes.xml
+++ b/app/src/main/res/values/themes.xml
@@ -35,7 +35,7 @@
<!-- Bottom bar icons theme -->
<style name="ApertureModeSelectorButton" parent="@style/Widget.Material3.Button.TonalButton">
<item name="android:backgroundTint">@color/camera_mode_selector_icon</item>
- <item name="android:textColor">?attr/colorPrimary</item>
+ <item name="android:textColor">@color/camera_mode_selector_text</item>
<item name="android:textStyle">bold</item>
<item name="android:typeface">monospace</item>
</style>