Skip to content

Commit

Permalink
[TimePicker] Migrate to new shape system
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 446302694
  • Loading branch information
paulfthomas authored and leticiarossi committed May 4, 2022
1 parent 7b2f924 commit f302da7
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -133,11 +133,14 @@
<item name="materialThemeOverlay">@style/ThemeOverlay.MaterialComponents.TimePicker.Display</item>
</style>

<style name="Widget.Material3.MaterialTimePicker" parent="Widget.MaterialComponents.TimePicker" />
<style name="Widget.Material3.MaterialTimePicker" parent="Widget.MaterialComponents.TimePicker">
<item name="shapeAppearance">?attr/shapeAppearanceCornerExtraLarge</item>
</style>

<style name="Widget.Material3.MaterialTimePicker.ImageButton" parent="Widget.MaterialComponents.TimePicker.ImageButton">
<item name="iconTint">@color/m3_timepicker_secondary_text_button_text_color</item>
<item name="rippleColor">@color/m3_timepicker_secondary_text_button_ripple_color</item>
<item name="shapeAppearance">@style/ShapeAppearance.Material3.Corner.Full</item>
</style>

<style name="Widget.Material3.MaterialTimePicker.Display" parent="Widget.MaterialComponents.TimePicker.Display">
Expand All @@ -147,6 +150,8 @@
<item name="rippleColor">@color/m3_timepicker_display_ripple_color</item>
<item name="chipStrokeColor">@color/m3_timepicker_display_stroke_color</item>
<item name="chipStrokeWidth">@dimen/m3_timepicker_display_stroke_width</item>
<item name="shapeAppearance">?attr/shapeAppearanceCornerSmall</item>
<item name="shapeAppearanceOverlay">@null</item>
</style>

<style name="Widget.Material3.MaterialTimePicker.Display.Divider" parent="Widget.MaterialComponents.TimePicker.Display.Divider">
Expand Down

0 comments on commit f302da7

Please sign in to comment.