Android: Fix quick menu in light mode

This commit is contained in:
Connor McLaughlin 2021-05-05 03:23:24 +10:00
parent 8239d464b9
commit d3fea7b5a7
4 changed files with 8 additions and 6 deletions

View File

@ -8,7 +8,7 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#99111111"
android:background="@color/emulationActivityPauseTitleBackground"
android:orientation="horizontal">
<ImageView

View File

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

View File

@ -8,5 +8,6 @@
<color name="black_overlay">#66000000</color>
<color name="fab_background">#ffffffff</color>
<color name="settings_overlay_background">#dd111111</color>
<color name="emulationActivityPauseBackground">#eeffffff</color>
<color name="emulationActivityPauseTitleBackground">#996200EE</color>
</resources>

View File

@ -35,13 +35,11 @@
<item name="android:textAllCaps">false</item>
</style>
<style name="EmulationActivityOverlay" parent="Theme.AppCompat.DayNight.DarkActionBar">
<style name="EmulationActivityOverlay" parent="ThemeOverlay.AppCompat.Dark">
<item name="android:windowNoTitle">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowBackground">@color/emulationActivityPauseBackground</item>
<item name="android:colorBackgroundCacheHint">@null</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
<item name="android:backgroundDimEnabled">true</item>
<item name="android:backgroundDimAmount">0.8</item>
</style>
</resources>