diff options
author | Kevin <kevhan@google.com> | 2019-05-16 11:48:09 -0700 |
---|---|---|
committer | Kevin <kevhan@google.com> | 2019-05-22 13:39:32 -0700 |
commit | 3c7d5fb9dbc6396f67430d5c9e66d775576f2926 (patch) | |
tree | 7aebbf1671ed8213620237437f0165fdedbd82e8 /go | |
parent | dedda05568a3f144c548d60e2bb1d7f5e7c58c6c (diff) | |
download | android_packages_apps_Trebuchet-3c7d5fb9dbc6396f67430d5c9e66d775576f2926.tar.gz android_packages_apps_Trebuchet-3c7d5fb9dbc6396f67430d5c9e66d775576f2926.tar.bz2 android_packages_apps_Trebuchet-3c7d5fb9dbc6396f67430d5c9e66d775576f2926.zip |
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
Diffstat (limited to 'go')
-rw-r--r-- | go/quickstep/res/layout/clear_all_button.xml | 3 | ||||
-rw-r--r-- | go/quickstep/res/layout/icon_recents_root_view.xml | 1 | ||||
-rw-r--r-- | 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 2f7c8ae20..eef66add4 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"/> </FrameLayout> diff --git a/go/quickstep/res/layout/icon_recents_root_view.xml b/go/quickstep/res/layout/icon_recents_root_view.xml index 595a380bd..8381ebc63 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"/> </com.android.quickstep.views.IconRecentsView>
\ 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 ab2cf2804..aeac47786 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"/> </com.android.quickstep.views.TaskItemView> |