Use theme overlay to get white chronometer text across both dark/light themes
This commit is contained in:
parent
ca8be47550
commit
2daa1a196c
@ -23,7 +23,7 @@
|
||||
android:background="?attr/colorPrimary"
|
||||
android:gravity="center"
|
||||
android:textSize="@dimen/text_size_display_3"
|
||||
style="@style/TextAppearance.AppCompat.Inverse"/>
|
||||
android:theme="@style/AppTheme.TextOverlay"/>
|
||||
|
||||
<!--
|
||||
- Unfortunately, we can't include fragment_recycler_view
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
android:background="?attr/colorPrimary"
|
||||
android:gravity="center_horizontal"
|
||||
android:textSize="@dimen/text_size_display_3"
|
||||
style="@style/TextAppearance.AppCompat.Inverse"/>
|
||||
android:theme="@style/AppTheme.TextOverlay"/>
|
||||
|
||||
<include layout="@layout/fragment_recycler_view"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@ -27,6 +27,10 @@
|
||||
|
||||
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light"/>
|
||||
|
||||
<style name="AppTheme.TextOverlay" parent="ThemeOverlay.AppCompat.Dark">
|
||||
|
||||
</style>
|
||||
|
||||
<style name="NumberButton">
|
||||
<item name="android:layout_width">0dp</item>
|
||||
<item name="android:layout_height">match_parent</item>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user