From ca8be47550c253e3127b839fd22197345b4baacc Mon Sep 17 00:00:00 2001 From: Phillip Hsu Date: Wed, 31 Aug 2016 16:38:03 -0700 Subject: [PATCH] Change background color of stopwatch chronometer to match theme's colorPrimary --- app/src/main/res/layout-land/fragment_stopwatch.xml | 6 +++--- app/src/main/res/layout/fragment_stopwatch.xml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout-land/fragment_stopwatch.xml b/app/src/main/res/layout-land/fragment_stopwatch.xml index e3d28c4..a942981 100644 --- a/app/src/main/res/layout-land/fragment_stopwatch.xml +++ b/app/src/main/res/layout-land/fragment_stopwatch.xml @@ -20,7 +20,7 @@ android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="1" - android:background="@color/colorPrimary" + android:background="?attr/colorPrimary" android:gravity="center" android:textSize="@dimen/text_size_display_3" style="@style/TextAppearance.AppCompat.Inverse"/> @@ -56,7 +56,7 @@ app:layout_columnWeight="1" app:layout_gravity="center" app:fabSize="mini" - app:backgroundTint="@color/colorPrimary"/> + app:backgroundTint="?attr/colorPrimary"/> + app:backgroundTint="?attr/colorPrimary"/> diff --git a/app/src/main/res/layout/fragment_stopwatch.xml b/app/src/main/res/layout/fragment_stopwatch.xml index de79257..16001cd 100644 --- a/app/src/main/res/layout/fragment_stopwatch.xml +++ b/app/src/main/res/layout/fragment_stopwatch.xml @@ -15,7 +15,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="@dimen/chronometer_padding" - android:background="@color/colorPrimary" + android:background="?attr/colorPrimary" android:gravity="center_horizontal" android:textSize="@dimen/text_size_display_3" style="@style/TextAppearance.AppCompat.Inverse"/> @@ -52,7 +52,7 @@ app:layout_columnWeight="1" app:layout_gravity="center" app:fabSize="mini" - app:backgroundTint="@color/colorPrimary"/> + app:backgroundTint="?attr/colorPrimary"/> + app:backgroundTint="?attr/colorPrimary"/>