[TimePicker] Inherit M3 timepicker button style from M3 button style by pubiqq · Pull Request #5026 · material-components/material-components-android
| <item name="clockNumberTextColor">@color/material_timepicker_clock_text_color</item> | ||
| </style> | ||
|
|
||
| <style name="Widget.Material3.MaterialTimePicker.Button" parent="Widget.MaterialComponents.TimePicker.Button"> |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this is intended and what's the reason behind this. I'll let someone else to check.
@drchen it looks like you created this style so you may be able to remember better than me 😄
But we either have to choose between:
- inherit from M2 timepicker button and then duplicate M3 button attrs here
- inherit from M3 button and duplicate M2 timepicker button attrs here as needed
Right? #2 seems like it would be less duplication / easier to maintain?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters