Android: Fix in game menu rippleColor and colorEdgeEffect

This commit is contained in:
Simonx22 2022-04-20 16:22:06 -04:00
parent 3fdc6cbffe
commit f5f52625b9
2 changed files with 7 additions and 2 deletions

View File

@ -27,7 +27,8 @@
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1" android:layout_weight="1"
android:scrollbarSize="8dp" android:scrollbarSize="8dp"
android:fadeScrollbars="false"> android:fadeScrollbars="false"
android:theme="@style/InGameScrollView">
<LinearLayout <LinearLayout
android:id="@+id/layout_options" android:id="@+id/layout_options"

View File

@ -29,7 +29,6 @@
</style> </style>
<!-- Themes for Dialogs --> <!-- Themes for Dialogs -->
<style name="DolphinDialogBase" parent="Theme.Material3.DayNight.Dialog.Alert"> <style name="DolphinDialogBase" parent="Theme.Material3.DayNight.Dialog.Alert">
<item name="colorPrimary">@color/dolphin_blue</item> <item name="colorPrimary">@color/dolphin_blue</item>
<item name="colorAccent">@color/dolphin_blue_secondary</item> <item name="colorAccent">@color/dolphin_blue_secondary</item>
@ -70,6 +69,10 @@
<item name="browseTitleViewLayout">@layout/titleview</item> <item name="browseTitleViewLayout">@layout/titleview</item>
</style> </style>
<style name="InGameScrollView">
<item name="android:colorEdgeEffect">@color/dolphin_blue_secondary</item>
</style>
<style name="InGameMenuOption" parent="Widget.Material3.Button.TextButton"> <style name="InGameMenuOption" parent="Widget.Material3.Button.TextButton">
<item name="android:textSize">16sp</item> <item name="android:textSize">16sp</item>
<item name="android:fontFamily">sans-serif-condensed</item> <item name="android:fontFamily">sans-serif-condensed</item>
@ -81,6 +84,7 @@
<item name="android:paddingLeft">32dp</item> <item name="android:paddingLeft">32dp</item>
<item name="android:paddingRight">32dp</item> <item name="android:paddingRight">32dp</item>
<item name="android:layout_margin">0dp</item> <item name="android:layout_margin">0dp</item>
<item name="rippleColor">@color/dolphin_blue_secondary</item>
</style> </style>
<style name="OverlayInGameMenuOption" parent="InGameMenuOption"> <style name="OverlayInGameMenuOption" parent="InGameMenuOption">