From 3c7d5fb9dbc6396f67430d5c9e66d775576f2926 Mon Sep 17 00:00:00 2001 From: Kevin Date: Thu, 16 May 2019 11:48:09 -0700 Subject: [PATCH] Recents Go: Conform to device default style System apps in Q should attempt to conform to device style, so naturally Recents Go should also conform to this so that text changes with the device style changing. This CL ensures all text views change font based off system theming title fonts. Bug: 131839392 Fix: 131839392 Test: Change device theme body font, see that change is propogated to Recents Go app texts, clear all, and empty recents message Change-Id: Ib85ff49383221ef18ed8aa9e53eff129129e37c2 --- go/quickstep/res/layout/clear_all_button.xml | 3 ++- go/quickstep/res/layout/icon_recents_root_view.xml | 1 + go/quickstep/res/layout/task_item_view.xml | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/go/quickstep/res/layout/clear_all_button.xml b/go/quickstep/res/layout/clear_all_button.xml index 2f7c8ae208..eef66add45 100644 --- a/go/quickstep/res/layout/clear_all_button.xml +++ b/go/quickstep/res/layout/clear_all_button.xml @@ -29,5 +29,6 @@ android:text="@string/recents_clear_all" android:textAllCaps="false" android:textColor="@color/clear_all_button_text" - android:textSize="14sp"/> + android:textSize="14sp" + style="@style/TextTitle"/> diff --git a/go/quickstep/res/layout/icon_recents_root_view.xml b/go/quickstep/res/layout/icon_recents_root_view.xml index 595a380bd8..8381ebc631 100644 --- a/go/quickstep/res/layout/icon_recents_root_view.xml +++ b/go/quickstep/res/layout/icon_recents_root_view.xml @@ -36,5 +36,6 @@ android:text="@string/recents_empty_message" android:textColor="@android:color/white" android:textSize="25sp" + style="@style/TextTitle" android:visibility="gone"/> \ No newline at end of file diff --git a/go/quickstep/res/layout/task_item_view.xml b/go/quickstep/res/layout/task_item_view.xml index ab2cf2804b..aeac47786a 100644 --- a/go/quickstep/res/layout/task_item_view.xml +++ b/go/quickstep/res/layout/task_item_view.xml @@ -41,5 +41,6 @@ android:layout_gravity="center_vertical" android:singleLine="true" android:textColor="@android:color/white" - android:textSize="24sp"/> + android:textSize="24sp" + style="@style/TextTitle"/>