Skip to content

Commit 018b382

Browse files
committed
Fix buttons for dialog themes
PiperOrigin-RevId: 205300861
1 parent bc6a266 commit 018b382

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/java/com/google/android/material/theme/res/values/themes_base.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
<!-- Dialog themes -->
8080
<item name="alertDialogTheme">@style/ThemeOverlay.MaterialComponents.Dialog.Alert</item>
8181
<item name="android:datePickerDialogTheme" tools:ignore="NewApi">@style/ThemeOverlay.MaterialComponents.Dialog</item>
82+
<item name="android:timePickerDialogTheme" tools:ignore="NewApi">@style/ThemeOverlay.MaterialComponents.Dialog</item>
8283
</style>
8384

8485
<style name="Base.V14.Theme.MaterialComponents.Light.Bridge" parent="Platform.MaterialComponents.Light">
@@ -130,6 +131,7 @@
130131
<!-- Dialog themes -->
131132
<item name="alertDialogTheme">@style/ThemeOverlay.MaterialComponents.Dialog.Alert</item>
132133
<item name="android:datePickerDialogTheme" tools:ignore="NewApi">@style/ThemeOverlay.MaterialComponents.Dialog</item>
134+
<item name="android:timePickerDialogTheme" tools:ignore="NewApi">@style/ThemeOverlay.MaterialComponents.Dialog</item>
133135
</style>
134136

135137
<style name="Base.V14.Theme.MaterialComponents.Light.DarkActionBar.Bridge" parent="Theme.AppCompat.Light.DarkActionBar">

0 commit comments

Comments
 (0)