File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 <!-- Use dark popup overlay in dark mode -->
55 <style name =" AppTheme.PopupOverlay" parent =" ThemeOverlay.AppCompat.Dark" ></style >
66
7+ <!-- Bottom sheet dark mode - uses dark cardview background (#1E1E1E) -->
8+ <style name =" AppTheme.BottomSheet" parent =" Widget.MaterialComponents.BottomSheet.Modal" >
9+ <item name =" backgroundTint" >@color/cardview_light_background</item >
10+ </style >
11+
712</resources >
813
Original file line number Diff line number Diff line change 1010 <item name =" android:colorBackground" >@color/background</item >
1111 <!-- Preference list styling -->
1212 <item name =" android:listViewStyle" >@style/AppListView</item >
13+ <!-- Bottom sheet dialog theme for proper theming -->
14+ <item name =" bottomSheetDialogTheme" >@style/AppTheme.BottomSheetDialog</item >
1315 </style >
1416
1517 <style name =" AppListView" parent =" Widget.AppCompat.ListView" >
2527
2628 <style name =" AppTheme.PopupOverlay" parent =" ThemeOverlay.AppCompat.Light" ></style >
2729
30+ <!-- Bottom sheet dialog theme - uses cardview background for consistency -->
31+ <style name =" AppTheme.BottomSheetDialog" parent =" ThemeOverlay.MaterialComponents.BottomSheetDialog" >
32+ <item name =" bottomSheetStyle" >@style/AppTheme.BottomSheet</item >
33+ </style >
34+
35+ <style name =" AppTheme.BottomSheet" parent =" Widget.MaterialComponents.BottomSheet.Modal" >
36+ <item name =" backgroundTint" >@color/cardview_light_background</item >
37+ </style >
38+
2839 <style name =" PickerDialogTheme" parent =" AppTheme.NoActionBar" >
2940 <item name =" android:textSize" >20sp</item >
3041 <item name =" android:labelTextSize" >20dp</item >
You can’t perform that action at this time.
0 commit comments