Skip to content

Commit

Permalink
fix: multimedia bottomsheet nav bar color transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
criticalAY authored and david-allison committed Sep 30, 2024
1 parent 89ae15f commit ba7f7df
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions AnkiDroid/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -243,4 +243,8 @@
<item name="android:alertDialogStyle">@style/AlertDialogStyle</item>
</style>

<style name="ThemeOverlay.App.BottomSheetDialog" parent="ThemeOverlay.Material3.BottomSheetDialog">
<item name="android:navigationBarColor" tools:ignore="NewApi">@android:color/transparent</item>
</style>

</resources>
2 changes: 2 additions & 0 deletions AnkiDroid/src/main/res/values/theme_dark.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@
<!-- AlertDialogTheme-->
<item name="alertDialogTheme">@style/ThemeOverlay.AnkiDroid.AlertDialog</item>
<item name="tabStyle">@style/Widget.MaterialComponents.TabLayout</item>

<item name="bottomSheetDialogTheme">@style/ThemeOverlay.App.BottomSheetDialog</item>
</style>

<style name="Theme_Dark" parent="Base.Theme.Dark"/>
Expand Down
2 changes: 2 additions & 0 deletions AnkiDroid/src/main/res/values/theme_light.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@
<item name="checkMediaListForeground">@color/material_grey_700</item>
<item name="progressDialogButtonTextColor">@color/material_light_blue_500</item>
<item name="tabStyle">@style/Widget.MaterialComponents.TabLayout</item>

<item name="bottomSheetDialogTheme">@style/ThemeOverlay.App.BottomSheetDialog</item>
</style>

<style name="Theme_Light" parent="Base.Theme.Light"/>
Expand Down

0 comments on commit ba7f7df

Please sign in to comment.