From 744136fea217eaea0ee63d6f9d6d4f7fe03da907 Mon Sep 17 00:00:00 2001 From: Phillip Hsu Date: Tue, 20 Sep 2016 17:47:28 -0700 Subject: [PATCH] Change style of label TextView to match Toolbar title style, especially for landscape --- app/src/main/res/layout-land/activity_edit_timer.xml | 2 +- app/src/main/res/layout/activity_edit_timer.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout-land/activity_edit_timer.xml b/app/src/main/res/layout-land/activity_edit_timer.xml index a1aece4..bde79df 100644 --- a/app/src/main/res/layout-land/activity_edit_timer.xml +++ b/app/src/main/res/layout-land/activity_edit_timer.xml @@ -26,7 +26,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:background="?android:attr/selectableItemBackground" - style="@style/TextAppearance.AppCompat.Title" + style="@style/TextAppearance.Widget.AppCompat.Toolbar.Title" android:hint="@string/label" android:maxLines="1" android:ellipsize="end"/> diff --git a/app/src/main/res/layout/activity_edit_timer.xml b/app/src/main/res/layout/activity_edit_timer.xml index 0d47f3d..5ab9b0a 100644 --- a/app/src/main/res/layout/activity_edit_timer.xml +++ b/app/src/main/res/layout/activity_edit_timer.xml @@ -33,7 +33,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:background="?android:attr/selectableItemBackground" - style="@style/TextAppearance.AppCompat.Title" + style="@style/TextAppearance.Widget.AppCompat.Toolbar.Title" android:hint="@string/label" android:maxLines="1" android:ellipsize="end"/>