diff --git a/quickstep/res/values/strings.xml b/quickstep/res/values/strings.xml index 0764bb3ca3..160332105b 100644 --- a/quickstep/res/values/strings.xml +++ b/quickstep/res/values/strings.xml @@ -99,62 +99,61 @@ Got it. - - - Try the back gesture - - Start at the right edge and swipe toward the middle - - Make sure you swipe from the far right edge - - Make sure you swipe straight to the left and let go - - - Try the other side - - That\'s it! Now try swiping from the left edge. - Make sure you swipe from the far left edge + Make sure you swipe from the far-left edge. - Make sure you swipe straight to the right and let go - + Make sure you swipe from the left edge to the middle of the screen and let go. + + That\'s it! Now try swiping from the right edge. + + Make sure you swipe from the far-right edge. + + Make sure you swipe from the right edge to the middle of the screen and let go. + + You completed the go back gesture. Next up, learn how to go Home. - Make sure you don\'t swipe too close to the bottom of the screen + Make sure you don\'t swipe too close to the bottom of the screen. - To change the sensitivity of the back gesture, go to Settings - - - Tutorial: Go Home - - Try swiping upward from the bottom edge of the screen + To change the sensitivity of the back gesture, go to Settings - Make sure you swipe from the bottom edge of the screen - - Make sure you don\'t pause before letting go - - Make sure you swipe straight up + + Swipe to go back + + To go back to the last screen, swipe from the left or right edge to the middle of the screen. + + Make sure you swipe up from the bottom edge of the screen. + + Make sure you don\'t pause before letting go. + + Make sure you swipe straight up. + You completed the go Home gesture. Next up, learn how to switch apps. + + Swipe to go home + + Swipe up from the bottom of your screen. This gesture always takes you to the Home screen. - - Tutorial: Switch Apps - - Swipe up from the bottom of the screen and hold - Make sure you swipe from the bottom edge of the screen + Make sure you swipe up from the bottom edge of the screen. - Try holding the window for longer before releasing + Try holding the window for longer before releasing. - Make sure you swipe straight up and pause + Make sure you swipe straight up, then pause. + You completed the switch apps gesture. You\'re ready to use your phone! + + Swipe to switch apps + + Swipe up from the bottom of your screen, hold, then release. Tutorial: Assistant Try swiping diagonally from a bottom corner of the screen - Make sure you swipe from a bottom corner of the screen + Make sure you swipe from a bottom corner of the screen. - Make sure you swipe diagonally + Make sure you swipe diagonally. - Try swiping further + Try swiping further. Sandbox Mode @@ -172,11 +171,19 @@ Make sure you swipe from the left/right edge of the screen - All set - - Done + All set + + Next + + Done - Settings + Settings + + Try again + + Nice! + + Tutorial %1$d/%2$d @@ -185,4 +192,14 @@ Screenshot This action isn\'t allowed by the app or your organization + + + + Skip navigation tutorial? + + You can find this later in the Tips app + + Cancel + + Skip diff --git a/quickstep/src/com/android/quickstep/interaction/BackGestureTutorialController.java b/quickstep/src/com/android/quickstep/interaction/BackGestureTutorialController.java index 161e015481..a1b7e010c6 100644 --- a/quickstep/src/com/android/quickstep/interaction/BackGestureTutorialController.java +++ b/quickstep/src/com/android/quickstep/interaction/BackGestureTutorialController.java @@ -36,9 +36,8 @@ final class BackGestureTutorialController extends TutorialController { Integer getTitleStringId() { switch (mTutorialType) { case RIGHT_EDGE_BACK_NAVIGATION: - return R.string.back_gesture_tutorial_playground_title_swipe_inward_right_edge; case LEFT_EDGE_BACK_NAVIGATION: - return R.string.back_gesture_tutorial_playground_title_swipe_inward_left_edge; + return R.string.back_gesture_intro_title; case BACK_NAVIGATION_COMPLETE: return R.string.gesture_tutorial_confirm_title; } @@ -49,9 +48,8 @@ final class BackGestureTutorialController extends TutorialController { Integer getSubtitleStringId() { switch (mTutorialType) { case RIGHT_EDGE_BACK_NAVIGATION: - return R.string.back_gesture_tutorial_engaged_subtitle_swipe_inward_right_edge; case LEFT_EDGE_BACK_NAVIGATION: - return R.string.back_gesture_tutorial_engaged_subtitle_swipe_inward_left_edge; + return R.string.back_gesture_intro_subtitle; case BACK_NAVIGATION_COMPLETE: return R.string.back_gesture_tutorial_confirm_subtitle; } diff --git a/quickstep/src/com/android/quickstep/interaction/HomeGestureTutorialController.java b/quickstep/src/com/android/quickstep/interaction/HomeGestureTutorialController.java index 95352d1a23..fbf3a0a958 100644 --- a/quickstep/src/com/android/quickstep/interaction/HomeGestureTutorialController.java +++ b/quickstep/src/com/android/quickstep/interaction/HomeGestureTutorialController.java @@ -38,7 +38,7 @@ final class HomeGestureTutorialController extends SwipeUpGestureTutorialControll Integer getTitleStringId() { switch (mTutorialType) { case HOME_NAVIGATION: - return R.string.home_gesture_tutorial_playground_title; + return R.string.home_gesture_intro_title; case HOME_NAVIGATION_COMPLETE: return R.string.gesture_tutorial_confirm_title; } @@ -48,7 +48,7 @@ final class HomeGestureTutorialController extends SwipeUpGestureTutorialControll @Override Integer getSubtitleStringId() { if (mTutorialType == TutorialType.HOME_NAVIGATION) { - return R.string.home_gesture_tutorial_playground_subtitle; + return R.string.home_gesture_intro_subtitle; } return null; } diff --git a/quickstep/src/com/android/quickstep/interaction/OverviewGestureTutorialController.java b/quickstep/src/com/android/quickstep/interaction/OverviewGestureTutorialController.java index 45cbd0b571..31f26d1a05 100644 --- a/quickstep/src/com/android/quickstep/interaction/OverviewGestureTutorialController.java +++ b/quickstep/src/com/android/quickstep/interaction/OverviewGestureTutorialController.java @@ -39,7 +39,7 @@ final class OverviewGestureTutorialController extends SwipeUpGestureTutorialCont Integer getTitleStringId() { switch (mTutorialType) { case OVERVIEW_NAVIGATION: - return R.string.overview_gesture_tutorial_playground_title; + return R.string.overview_gesture_intro_title; case OVERVIEW_NAVIGATION_COMPLETE: return R.string.gesture_tutorial_confirm_title; } @@ -49,7 +49,7 @@ final class OverviewGestureTutorialController extends SwipeUpGestureTutorialCont @Override Integer getSubtitleStringId() { if (mTutorialType == TutorialType.OVERVIEW_NAVIGATION) { - return R.string.overview_gesture_tutorial_playground_subtitle; + return R.string.overview_gesture_intro_subtitle; } return null; }