Use theme overlay to get white chronometer text across both dark/light themes

This commit is contained in:
Phillip Hsu 2016-08-31 17:03:01 -07:00
parent ca8be47550
commit 2daa1a196c
3 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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"

View File

@ -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>