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