Change background color of stopwatch chronometer to match theme's colorPrimary

This commit is contained in:
Phillip Hsu 2016-08-31 16:38:03 -07:00
parent 8a7e76e198
commit ca8be47550
2 changed files with 6 additions and 6 deletions

View File

@ -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"/>
<android.support.design.widget.FloatingActionButton
android:id="@+id/stop"
@ -68,7 +68,7 @@
app:layout_columnWeight="1"
app:layout_gravity="center"
app:fabSize="mini"
app:backgroundTint="@color/colorPrimary"/>
app:backgroundTint="?attr/colorPrimary"/>
</android.support.v7.widget.GridLayout>

View File

@ -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"/>
<android.support.design.widget.FloatingActionButton
android:id="@+id/stop"
@ -64,7 +64,7 @@
app:layout_columnWeight="1"
app:layout_gravity="center"
app:fabSize="mini"
app:backgroundTint="@color/colorPrimary"/>
app:backgroundTint="?attr/colorPrimary"/>
</android.support.v7.widget.GridLayout>