Merge "Update fonts in gesture nav tutorial menu page" into main

This commit is contained in:
Treehugger Robot
2025-03-26 10:17:44 -07:00
committed by Android (Google) Code Review
@@ -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;
}