From f1353604a9cd5e59f2d22c585614d421485a994b Mon Sep 17 00:00:00 2001 From: Schneider Victor-Tulias Date: Tue, 25 Mar 2025 15:21:00 -0400 Subject: [PATCH] Update fonts in gesture nav tutorial menu page Flag: com.android.wm.shell.enable_gsf Fixes: 405310693 Test: screenshots on bug Change-Id: If806d4d87acf09b280bfe2efbea6256e0f936058 --- .../android/quickstep/interaction/MenuFragment.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/quickstep/src/com/android/quickstep/interaction/MenuFragment.java b/quickstep/src/com/android/quickstep/interaction/MenuFragment.java index 8ead3dd8bd..4679561f8b 100644 --- a/quickstep/src/com/android/quickstep/interaction/MenuFragment.java +++ b/quickstep/src/com/android/quickstep/interaction/MenuFragment.java @@ -28,6 +28,7 @@ import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.android.launcher3.R; +import com.android.wm.shell.shared.TypefaceUtils; /** Displays the gesture nav tutorial menu. */ public final class MenuFragment extends GestureSandboxFragment { @@ -58,6 +59,16 @@ public final class MenuFragment extends GestureSandboxFragment { root.findViewById(R.id.gesture_tutorial_menu_done_button).setOnClickListener( v -> close()); + TypefaceUtils.setTypeface( + root.findViewById(R.id.gesture_tutorial_menu_home_button_text), + TypefaceUtils.FontFamily.GSF_DISPLAY_SMALL_EMPHASIZED); + TypefaceUtils.setTypeface( + root.findViewById(R.id.gesture_tutorial_menu_back_button_text), + TypefaceUtils.FontFamily.GSF_DISPLAY_SMALL_EMPHASIZED); + TypefaceUtils.setTypeface( + root.findViewById(R.id.gesture_tutorial_menu_overview_button_text), + TypefaceUtils.FontFamily.GSF_DISPLAY_SMALL_EMPHASIZED); + return root; }