diff --git a/res/drawable-night/illustration_accessibility_gesture_three_finger.xml b/res/drawable-night/accessibility_gesture_navigation_three_finger_preview.xml similarity index 100% rename from res/drawable-night/illustration_accessibility_gesture_three_finger.xml rename to res/drawable-night/accessibility_gesture_navigation_three_finger_preview.xml diff --git a/res/drawable-night/accessibility_gesture_navigation_three_finger_preview_tablet.xml b/res/drawable-night/accessibility_gesture_navigation_three_finger_preview_tablet.xml new file mode 100644 index 00000000000..1710fa41f23 --- /dev/null +++ b/res/drawable-night/accessibility_gesture_navigation_three_finger_preview_tablet.xml @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable-night/illustration_accessibility_gesture_two_finger.xml b/res/drawable-night/accessibility_gesture_navigation_two_finger_preview.xml similarity index 100% rename from res/drawable-night/illustration_accessibility_gesture_two_finger.xml rename to res/drawable-night/accessibility_gesture_navigation_two_finger_preview.xml diff --git a/res/drawable-night/accessibility_gesture_navigation_two_finger_preview_tablet.xml b/res/drawable-night/accessibility_gesture_navigation_two_finger_preview_tablet.xml new file mode 100644 index 00000000000..7a5cc48402c --- /dev/null +++ b/res/drawable-night/accessibility_gesture_navigation_two_finger_preview_tablet.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable-night/accessibility_shortcut_type_software_gesture.xml b/res/drawable-night/accessibility_shortcut_type_software_gesture.xml index 905586599fe..ea19f7451ff 100644 --- a/res/drawable-night/accessibility_shortcut_type_software_gesture.xml +++ b/res/drawable-night/accessibility_shortcut_type_software_gesture.xml @@ -19,22 +19,22 @@ android:height="300dp" android:viewportWidth="412" android:viewportHeight="300"> - - - - - - - + + + + + + + \ No newline at end of file diff --git a/res/drawable-night/accessibility_shortcut_type_software_gesture_tablet.xml b/res/drawable-night/accessibility_shortcut_type_software_gesture_tablet.xml index 51d4ba710c2..129f13db30a 100644 --- a/res/drawable-night/accessibility_shortcut_type_software_gesture_tablet.xml +++ b/res/drawable-night/accessibility_shortcut_type_software_gesture_tablet.xml @@ -1,50 +1,46 @@ + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + diff --git a/res/drawable-night/accessibility_shortcut_type_software_gesture_talkback.xml b/res/drawable-night/accessibility_shortcut_type_software_gesture_talkback.xml index 0b6f1e6142e..bd9bf19cae6 100644 --- a/res/drawable-night/accessibility_shortcut_type_software_gesture_talkback.xml +++ b/res/drawable-night/accessibility_shortcut_type_software_gesture_talkback.xml @@ -19,25 +19,25 @@ android:height="300dp" android:viewportWidth="412" android:viewportHeight="300"> - - - - - - - - + + + + + + + + \ No newline at end of file diff --git a/res/drawable-night/accessibility_shortcut_type_software_gesture_talkback_tablet.xml b/res/drawable-night/accessibility_shortcut_type_software_gesture_talkback_tablet.xml index c02d8a73805..d113fff8b72 100644 --- a/res/drawable-night/accessibility_shortcut_type_software_gesture_talkback_tablet.xml +++ b/res/drawable-night/accessibility_shortcut_type_software_gesture_talkback_tablet.xml @@ -1,64 +1,49 @@ + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + diff --git a/res/drawable/illustration_accessibility_gesture_three_finger.xml b/res/drawable/accessibility_gesture_navigation_three_finger_preview.xml similarity index 100% rename from res/drawable/illustration_accessibility_gesture_three_finger.xml rename to res/drawable/accessibility_gesture_navigation_three_finger_preview.xml diff --git a/res/drawable/accessibility_gesture_navigation_three_finger_preview_tablet.xml b/res/drawable/accessibility_gesture_navigation_three_finger_preview_tablet.xml new file mode 100644 index 00000000000..fab08537886 --- /dev/null +++ b/res/drawable/accessibility_gesture_navigation_three_finger_preview_tablet.xml @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable/illustration_accessibility_gesture_two_finger.xml b/res/drawable/accessibility_gesture_navigation_two_finger_preview.xml similarity index 100% rename from res/drawable/illustration_accessibility_gesture_two_finger.xml rename to res/drawable/accessibility_gesture_navigation_two_finger_preview.xml diff --git a/res/drawable/accessibility_gesture_navigation_two_finger_preview_tablet.xml b/res/drawable/accessibility_gesture_navigation_two_finger_preview_tablet.xml new file mode 100644 index 00000000000..f976f02efa4 --- /dev/null +++ b/res/drawable/accessibility_gesture_navigation_two_finger_preview_tablet.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable/accessibility_shortcut_type_software_gesture.xml b/res/drawable/accessibility_shortcut_type_software_gesture.xml index 514dd517898..2ded59f63c8 100644 --- a/res/drawable/accessibility_shortcut_type_software_gesture.xml +++ b/res/drawable/accessibility_shortcut_type_software_gesture.xml @@ -19,40 +19,40 @@ android:height="300dp" android:viewportWidth="412" android:viewportHeight="300"> - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/res/drawable/accessibility_shortcut_type_software_gesture_tablet.xml b/res/drawable/accessibility_shortcut_type_software_gesture_tablet.xml index 927c0e5b7e3..2dccf2a846d 100644 --- a/res/drawable/accessibility_shortcut_type_software_gesture_tablet.xml +++ b/res/drawable/accessibility_shortcut_type_software_gesture_tablet.xml @@ -1,50 +1,46 @@ + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + diff --git a/res/drawable/accessibility_shortcut_type_software_gesture_talkback.xml b/res/drawable/accessibility_shortcut_type_software_gesture_talkback.xml index 9388e66e8d5..2de804c333b 100644 --- a/res/drawable/accessibility_shortcut_type_software_gesture_talkback.xml +++ b/res/drawable/accessibility_shortcut_type_software_gesture_talkback.xml @@ -19,25 +19,25 @@ android:height="300dp" android:viewportWidth="412" android:viewportHeight="300"> - - - - - - - - + + + + + + + + \ No newline at end of file diff --git a/res/drawable/accessibility_shortcut_type_software_gesture_talkback_tablet.xml b/res/drawable/accessibility_shortcut_type_software_gesture_talkback_tablet.xml index abd2eb6296f..e122ae1fef8 100644 --- a/res/drawable/accessibility_shortcut_type_software_gesture_talkback_tablet.xml +++ b/res/drawable/accessibility_shortcut_type_software_gesture_talkback_tablet.xml @@ -1,64 +1,49 @@ + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + diff --git a/res/values/drawables.xml b/res/values/drawables.xml index d0bc4ceb1c7..a2d66e72cf9 100644 --- a/res/values/drawables.xml +++ b/res/values/drawables.xml @@ -14,9 +14,6 @@ limitations under the License. --> - @drawable/accessibility_shortcut_type_software_gesture_talkback - @drawable/accessibility_shortcut_type_software_gesture_talkback_tablet - @drawable/accessibility_button_preview_base @drawable/accessibility_button_preview_base_tablet @@ -26,12 +23,6 @@ @drawable/accessibility_button_preview_small_floating_menu @drawable/accessibility_button_preview_small_floating_menu_tablet - @drawable/accessibility_button_preview_three_finger - @drawable/accessibility_button_preview_three_finger_tablet - - @drawable/accessibility_button_preview_two_finger - @drawable/accessibility_button_preview_two_finger_tablet - @drawable/accessibility_button_navigation @drawable/accessibility_button_navigation_tablet @@ -50,6 +41,21 @@ @drawable/accessibility_shortcut_type_software_gesture @drawable/accessibility_shortcut_type_software_gesture_tablet + @drawable/accessibility_shortcut_type_software_gesture_talkback + @drawable/accessibility_shortcut_type_software_gesture_talkback_tablet + + @drawable/accessibility_gesture_navigation_two_finger_preview + @drawable/accessibility_gesture_navigation_two_finger_preview_tablet + + @drawable/accessibility_gesture_navigation_three_finger_preview + @drawable/accessibility_gesture_navigation_three_finger_preview_tablet + + @drawable/accessibility_button_preview_two_finger + @drawable/accessibility_button_preview_two_finger_tablet + + @drawable/accessibility_button_preview_three_finger + @drawable/accessibility_button_preview_three_finger_tablet + @drawable/accessibility_magnification_mode_fullscreen @drawable/accessibility_magnification_mode_fullscreen_tablet @@ -58,4 +64,4 @@ @drawable/accessibility_magnification_mode_window @drawable/accessibility_magnification_mode_window_tablet - \ No newline at end of file + diff --git a/src/com/android/settings/accessibility/AccessibilityGestureNavigationTutorial.java b/src/com/android/settings/accessibility/AccessibilityGestureNavigationTutorial.java index 52e58c0f819..7e11f952464 100644 --- a/src/com/android/settings/accessibility/AccessibilityGestureNavigationTutorial.java +++ b/src/com/android/settings/accessibility/AccessibilityGestureNavigationTutorial.java @@ -177,8 +177,8 @@ private static void setupGestureNavigationTextWithImage(Context context, View vi final ImageView imageView = view.findViewById(R.id.image); final int gestureSettingsImageResId = - isTouchExploreEnabled ? R.drawable.illustration_accessibility_gesture_three_finger - : R.drawable.illustration_accessibility_gesture_two_finger; + isTouchExploreEnabled ? R.drawable.a11y_gesture_navigation_three_finger_preview + : R.drawable.a11y_gesture_navigation_two_finger_preview; imageView.setImageResource(gestureSettingsImageResId); final TextView textView = view.findViewById(R.id.gesture_tutorial_message);