From 6cd32cb4e4c326aaecce98b0a2be90ba431d6811 Mon Sep 17 00:00:00 2001 From: James O'Leary Date: Fri, 11 Jun 2021 09:19:17 -0400 Subject: [PATCH] Use Google Sans Text for Cut/Copy/Paste menu Went with config_bodyFontFamily over config_headlineFontFamily, that is Google Sans Text, verified by double-checking in Figma that GS Text's lowercase Y has a curly tail, Google Sans does not. Screenshots: Headline/Google Sans: https://screenshot.googleplex.com/6DydogAnRQUBrJr Body/Google Sans Text: https://screenshot.googleplex.com/ASDMehJDjnkvLUt Bug: 186819251 Test: Verify curly Y in several invocations of Cut/Copy/Paste across SysUI and apps. Change-Id: I78003687c88825cf87cfb875ca7481ca690495ed --- core/res/res/layout/floating_popup_menu_button.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/res/res/layout/floating_popup_menu_button.xml b/core/res/res/layout/floating_popup_menu_button.xml index c419e46349f40..e4c2a34b1af8f 100644 --- a/core/res/res/layout/floating_popup_menu_button.xml +++ b/core/res/res/layout/floating_popup_menu_button.xml @@ -51,7 +51,7 @@ android:gravity="center" android:singleLine="true" android:ellipsize="end" - android:fontFamily="sans-serif-medium" + android:fontFamily="@*android:string/config_bodyFontFamily" android:textSize="@dimen/floating_toolbar_text_size" android:textColor="?attr/floatingToolbarForegroundColor" android:background="@null"