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
This commit is contained in:
Kevin 2019-05-16 11:48:09 -07:00
parent dedda05568
commit 3c7d5fb9db
3 changed files with 5 additions and 2 deletions

View File

@ -29,5 +29,6 @@
android:text="@string/recents_clear_all" android:text="@string/recents_clear_all"
android:textAllCaps="false" android:textAllCaps="false"
android:textColor="@color/clear_all_button_text" android:textColor="@color/clear_all_button_text"
android:textSize="14sp"/> android:textSize="14sp"
style="@style/TextTitle"/>
</FrameLayout> </FrameLayout>

View File

@ -36,5 +36,6 @@
android:text="@string/recents_empty_message" android:text="@string/recents_empty_message"
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:textSize="25sp" android:textSize="25sp"
style="@style/TextTitle"
android:visibility="gone"/> android:visibility="gone"/>
</com.android.quickstep.views.IconRecentsView> </com.android.quickstep.views.IconRecentsView>

View File

@ -41,5 +41,6 @@
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:singleLine="true" android:singleLine="true"
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:textSize="24sp"/> android:textSize="24sp"
style="@style/TextTitle"/>
</com.android.quickstep.views.TaskItemView> </com.android.quickstep.views.TaskItemView>