Themed icon colors for TimerViewHolder
This commit is contained in:
@@ -14,4 +14,6 @@
|
||||
<attr name="secondaryText" format="string"/>
|
||||
</declare-styleable>
|
||||
|
||||
<attr name="themedIconTint" format="reference|color"/>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -57,6 +57,9 @@
|
||||
<dimen name="laps_container_margin_top">8dp</dimen>
|
||||
<dimen name="chronometer_padding">16dp</dimen>
|
||||
|
||||
<!-- TimerViewHolder -->
|
||||
<dimen name="add_one_minute_text_size">18dp</dimen>
|
||||
|
||||
<dimen name="text_size_body_1">14sp</dimen>
|
||||
<dimen name="text_size_body_2">14sp</dimen>
|
||||
<dimen name="text_size_button">14sp</dimen>
|
||||
|
||||
@@ -197,6 +197,7 @@
|
||||
<string name="add_one_minute">Add 1 minute</string>
|
||||
<string name="stop">Stop</string>
|
||||
<string name="timer_expired">Timer expired</string>
|
||||
<string name="add_one_minute_icon_text">+60s</string>
|
||||
|
||||
<string name="alarm_auto_silenced_text">You missed your alarm.</string>
|
||||
<string name="timer_auto_silenced_text">Your timer expired.</string>
|
||||
|
||||
@@ -10,17 +10,22 @@
|
||||
<!--<item name="dialogTheme">@style/AppCompatDialogTheme</item>-->
|
||||
<item name="alertDialogTheme">@style/AppCompatAlertDialogStyle</item>
|
||||
<item name="bottomSheetDialogTheme">@style/BottomSheetDialogTheme</item>
|
||||
<item name="themedIconTint">@color/icon_color</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.Dark" parent="Theme.AppCompat.NoActionBar">
|
||||
<!--TODO: Define colorPrimaryInverse in colors.xml-->
|
||||
<item name="colorPrimary">@color/dark_gray</item>
|
||||
<!-- TODO: Define colorPrimaryDarkInverse in colors.xml -->
|
||||
<item name="colorPrimaryDark">@color/dark_gray</item>
|
||||
<!-- TODO: Define colorAccentInverse in colors.xml -->
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
<!-- TODO: This doesn't work for BottomSheetDialogs. Verify this works for other types of dialogs. -->
|
||||
<!--<item name="dialogTheme">@style/AppCompatDialogTheme.Dark</item>-->
|
||||
<item name="alertDialogTheme">@style/AppCompatAlertDialogStyle.Dark</item>
|
||||
<!--TODO: Dark theme-->
|
||||
<item name="bottomSheetDialogTheme">@style/BottomSheetDialogTheme</item>
|
||||
<item name="themedIconTint">@color/icon_color_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/>
|
||||
|
||||
Reference in New Issue
Block a user