Merge "Update fonts in gesture nav tutorial menu page" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
5b280a12f6
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user