Android: Improve pause menu in light theme

This commit is contained in:
Connor McLaughlin 2021-05-08 03:25:13 +10:00
parent 6a06b4970d
commit 7080e307dd
3 changed files with 7 additions and 3 deletions

View file

@ -8,7 +8,7 @@
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@color/emulationActivityPauseTitleBackground" android:background="@color/colorPrimary"
android:orientation="horizontal"> android:orientation="horizontal">
<ImageView <ImageView
@ -28,6 +28,7 @@
android:layout_marginTop="4dp" android:layout_marginTop="4dp"
android:text="Title" android:text="Title"
android:textAppearance="@style/TextAppearance.AppCompat.Large" android:textAppearance="@style/TextAppearance.AppCompat.Large"
android:textColor="?android:textColorPrimary"
android:scrollHorizontally="true" android:scrollHorizontally="true"
android:ellipsize="end" android:ellipsize="end"
android:maxLines="1" android:maxLines="1"
@ -43,6 +44,7 @@
android:layout_marginEnd="4dp" android:layout_marginEnd="4dp"
android:layout_marginBottom="4dp" android:layout_marginBottom="4dp"
android:text="Code - Path" android:text="Code - Path"
android:textColor="?android:textColorPrimary"
android:scrollHorizontally="true" android:scrollHorizontally="true"
android:ellipsize="end" android:ellipsize="end"
android:maxLines="1" android:maxLines="1"
@ -66,6 +68,7 @@
android:layout_height="60dp" android:layout_height="60dp"
android:layout_marginEnd="5dp" android:layout_marginEnd="5dp"
android:background="?android:attr/selectableItemBackground" android:background="?android:attr/selectableItemBackground"
android:tint="?android:textColorPrimary"
android:contentDescription="Pause Menu" android:contentDescription="Pause Menu"
android:src="@drawable/ic_baseline_menu_24" /> android:src="@drawable/ic_baseline_menu_24" />
@ -75,6 +78,7 @@
android:layout_height="60dp" android:layout_height="60dp"
android:layout_marginEnd="5dp" android:layout_marginEnd="5dp"
android:background="?android:attr/selectableItemBackground" android:background="?android:attr/selectableItemBackground"
android:tint="?android:textColorPrimary"
android:contentDescription="Controller Settings" android:contentDescription="Controller Settings"
android:src="@drawable/ic_baseline_gamepad_24" /> android:src="@drawable/ic_baseline_gamepad_24" />
@ -84,6 +88,7 @@
android:layout_height="60dp" android:layout_height="60dp"
android:layout_marginEnd="5dp" android:layout_marginEnd="5dp"
android:background="?android:attr/selectableItemBackground" android:background="?android:attr/selectableItemBackground"
android:tint="?android:textColorPrimary"
android:contentDescription="Settings" android:contentDescription="Settings"
android:src="@drawable/ic_baseline_settings_24" /> android:src="@drawable/ic_baseline_settings_24" />
@ -93,6 +98,7 @@
android:layout_height="60dp" android:layout_height="60dp"
android:layout_marginEnd="5dp" android:layout_marginEnd="5dp"
android:background="?android:attr/selectableItemBackground" android:background="?android:attr/selectableItemBackground"
android:tint="?android:textColorPrimary"
android:contentDescription="Quit" android:contentDescription="Quit"
android:src="@drawable/ic_baseline_exit_to_app_24" /> android:src="@drawable/ic_baseline_exit_to_app_24" />

View file

@ -9,5 +9,4 @@
<color name="fab_background">#222222</color> <color name="fab_background">#222222</color>
<color name="emulationActivityPauseBackground">#cc000000</color> <color name="emulationActivityPauseBackground">#cc000000</color>
<color name="emulationActivityPauseTitleBackground">#99111111</color>
</resources> </resources>

View file

@ -9,5 +9,4 @@
<color name="fab_background">#ffffffff</color> <color name="fab_background">#ffffffff</color>
<color name="emulationActivityPauseBackground">#eeffffff</color> <color name="emulationActivityPauseBackground">#eeffffff</color>
<color name="emulationActivityPauseTitleBackground">#996200EE</color>
</resources> </resources>