Implement trackpad gestures education UI.
1. Use BottomSheetDialogFragment. 2. Use LottieAnimationView for animation 3. Add 5 animation assets Demo: go/trackpad_education_demo Bug: 247080509 Test: manual Change-Id: Icac7a6cd51763ca20b7661d6f1d4cc95af5292e9
This commit is contained in:
committed by
Daniel Huang
parent
4525cfb462
commit
40cab1692d
@@ -3738,6 +3738,36 @@
|
||||
<!-- Title for the button to trigger the 'touch gesture' education. [CHAR LIMIT=35] -->
|
||||
<string name="trackpad_touch_gesture">Learn touchpad gestures</string>
|
||||
|
||||
<!-- Title text for 'Go home' gesture education [CHAR LIMIT=35] -->
|
||||
<string name="gesture_title_go_home">Go home</string>
|
||||
<!-- Summary text for 'Go home' gesture education [CHAR LIMIT=60] -->
|
||||
<string name="gesture_summary_go_home">Swipe up with three fingers anywhere on your touchpad</string>
|
||||
<!-- Title text for 'Go back' gesture education [CHAR LIMIT=35] -->
|
||||
<string name="gesture_title_go_back">Go back</string>
|
||||
<!-- Summary text for 'Go back' gesture education [CHAR LIMIT=60] -->
|
||||
<string name="gesture_summary_go_back">Swipe from the left or right with three fingers</string>
|
||||
<!-- Title text for 'View recent apps' gesture education [CHAR LIMIT=35] -->
|
||||
<string name="gesture_title_recent_apps">View recent apps</string>
|
||||
<!-- Summary text for 'View recent apps' gesture education [CHAR LIMIT=60] -->
|
||||
<string name="gesture_summary_recent_apps">Swipe up with three fingers, hold, then release</string>
|
||||
<!-- Title text for 'View notifications' gesture education [CHAR LIMIT=35] -->
|
||||
<string name="gesture_title_notifications">View notifications & Quick Settings</string>
|
||||
<!-- Summary text for 'View notifications' gesture education [CHAR LIMIT=60] -->
|
||||
<string name="gesture_summary_notifications">Swipe down with three fingers on your home screen</string>
|
||||
<!-- Title text for 'Switch apps' gesture education [CHAR LIMIT=35] -->
|
||||
<string name="gesture_title_switch_apps">Switch apps</string>
|
||||
<!-- Summary text for 'Switch apps' gesture education [CHAR LIMIT=60] -->
|
||||
<string name="gesture_summary_switch_apps">Swipe left or right with four fingers</string>
|
||||
|
||||
<!-- Text for 'Skip' button in gesture education [CHAR LIMIT=10] -->
|
||||
<string name="gesture_button_skip">Skip</string>
|
||||
<!-- Text for 'Next' button in gesture education [CHAR LIMIT=10] -->
|
||||
<string name="gesture_button_next">Next</string>
|
||||
<!-- Text for 'Restart' button in gesture education [CHAR LIMIT=10] -->
|
||||
<string name="gesture_button_restart">Restart</string>
|
||||
<!-- Text for 'Done' button in gesture education [CHAR LIMIT=10] -->
|
||||
<string name="gesture_button_done">Done</string>
|
||||
|
||||
<!-- Title text for 'Go back' [CHAR LIMIT=35] -->
|
||||
<string name="trackpad_go_back_title">Go back</string>
|
||||
<!-- Summary text for 'Go back' [CHAR LIMIT=60] -->
|
||||
|
Reference in New Issue
Block a user