diff --git a/Android.bp b/Android.bp index de88d42ea0..787c98bd19 100644 --- a/Android.bp +++ b/Android.bp @@ -79,7 +79,7 @@ android_library { "androidx.test.uiautomator_uiautomator", "androidx.preference_preference", "SystemUISharedLib", - "SystemUIAnimationLib", + "animationlib", "launcher-testing-shared", ], srcs: [ @@ -243,7 +243,7 @@ android_library { "lottie", "SystemUISharedLib", "SystemUI-statsd", - "SystemUIAnimationLib", + "animationlib", ], manifest: "quickstep/AndroidManifest.xml", min_sdk_version: "current", @@ -305,7 +305,7 @@ android_library { "SystemUISharedLib", "Launcher3CommonDepsLib", "QuickstepResLib", - "SystemUIAnimationLib", + "animationlib", ], manifest: "quickstep/AndroidManifest.xml", platform_apis: true, diff --git a/AndroidManifest-common.xml b/AndroidManifest-common.xml index 0c7b48fe66..14605d8053 100644 --- a/AndroidManifest-common.xml +++ b/AndroidManifest-common.xml @@ -43,8 +43,8 @@ + - + + + diff --git a/quickstep/res/color/all_set_bg_tertiary.xml b/quickstep/res/color/all_set_bg_tertiary.xml new file mode 100644 index 0000000000..e62b094971 --- /dev/null +++ b/quickstep/res/color/all_set_bg_tertiary.xml @@ -0,0 +1,19 @@ + + + + + diff --git a/quickstep/res/color/menu_item_hover_state_color.xml b/quickstep/res/color/menu_item_hover_state_color.xml new file mode 100644 index 0000000000..1dd7654ad9 --- /dev/null +++ b/quickstep/res/color/menu_item_hover_state_color.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/res/color/app_subtitle_text_light.xml b/quickstep/res/color/taskbar_nav_icon_dark_color.xml similarity index 92% rename from res/color/app_subtitle_text_light.xml rename to quickstep/res/color/taskbar_nav_icon_dark_color.xml index fb00baac6c..7951e123af 100644 --- a/res/color/app_subtitle_text_light.xml +++ b/quickstep/res/color/taskbar_nav_icon_dark_color.xml @@ -14,5 +14,5 @@ limitations under the License. --> - + diff --git a/res/color/app_title_text_dark.xml b/quickstep/res/color/taskbar_nav_icon_light_color.xml similarity index 84% rename from res/color/app_title_text_dark.xml rename to quickstep/res/color/taskbar_nav_icon_light_color.xml index 220d10fc8f..cc8e3b30b1 100644 --- a/res/color/app_title_text_dark.xml +++ b/quickstep/res/color/taskbar_nav_icon_light_color.xml @@ -14,6 +14,5 @@ limitations under the License. --> - - + diff --git a/quickstep/res/drawable-sw600dp-land/gesture_tutorial_back_step_shape.xml b/quickstep/res/drawable-sw600dp-land/gesture_tutorial_back_step_shape.xml index 0f2650b83f..a07aeaadcc 100644 --- a/quickstep/res/drawable-sw600dp-land/gesture_tutorial_back_step_shape.xml +++ b/quickstep/res/drawable-sw600dp-land/gesture_tutorial_back_step_shape.xml @@ -19,5 +19,5 @@ android:viewportHeight="208"> + android:fillColor="?attr/onSurfaceBack"/> diff --git a/quickstep/res/drawable-sw600dp-land/gesture_tutorial_home_step_shape.xml b/quickstep/res/drawable-sw600dp-land/gesture_tutorial_home_step_shape.xml index 4cccd09bf5..68397187cf 100644 --- a/quickstep/res/drawable-sw600dp-land/gesture_tutorial_home_step_shape.xml +++ b/quickstep/res/drawable-sw600dp-land/gesture_tutorial_home_step_shape.xml @@ -17,11 +17,7 @@ android:height="67dp" android:viewportWidth="232" android:viewportHeight="67"> - - - - + diff --git a/quickstep/res/drawable-sw600dp-land/gesture_tutorial_overview_step_shape.xml b/quickstep/res/drawable-sw600dp-land/gesture_tutorial_overview_step_shape.xml index 7011f6c263..4111718ed9 100644 --- a/quickstep/res/drawable-sw600dp-land/gesture_tutorial_overview_step_shape.xml +++ b/quickstep/res/drawable-sw600dp-land/gesture_tutorial_overview_step_shape.xml @@ -17,11 +17,7 @@ android:height="94dp" android:viewportWidth="194" android:viewportHeight="94"> - - - - + diff --git a/quickstep/res/drawable-sw720dp-land/gesture_tutorial_back_step_shape.xml b/quickstep/res/drawable-sw720dp-land/gesture_tutorial_back_step_shape.xml index 02f6ff9e38..e20458e350 100644 --- a/quickstep/res/drawable-sw720dp-land/gesture_tutorial_back_step_shape.xml +++ b/quickstep/res/drawable-sw720dp-land/gesture_tutorial_back_step_shape.xml @@ -19,5 +19,5 @@ android:viewportHeight="303"> + android:fillColor="?attr/onSurfaceBack"/> diff --git a/quickstep/res/drawable-sw720dp-land/gesture_tutorial_home_step_shape.xml b/quickstep/res/drawable-sw720dp-land/gesture_tutorial_home_step_shape.xml index 5becb8b0fe..0c050ca852 100644 --- a/quickstep/res/drawable-sw720dp-land/gesture_tutorial_home_step_shape.xml +++ b/quickstep/res/drawable-sw720dp-land/gesture_tutorial_home_step_shape.xml @@ -17,11 +17,7 @@ android:height="73dp" android:viewportWidth="362" android:viewportHeight="73"> - - - - + diff --git a/quickstep/res/drawable-sw720dp-land/gesture_tutorial_overview_step_shape.xml b/quickstep/res/drawable-sw720dp-land/gesture_tutorial_overview_step_shape.xml index 7143089d48..d012897ed3 100644 --- a/quickstep/res/drawable-sw720dp-land/gesture_tutorial_overview_step_shape.xml +++ b/quickstep/res/drawable-sw720dp-land/gesture_tutorial_overview_step_shape.xml @@ -17,11 +17,7 @@ android:height="144dp" android:viewportWidth="297" android:viewportHeight="144"> - - - - + diff --git a/quickstep/res/drawable-v28/gesture_tutorial_action_button_background.xml b/quickstep/res/drawable-v28/gesture_tutorial_action_button_background.xml index 710482f162..f1c6e641e1 100644 --- a/quickstep/res/drawable-v28/gesture_tutorial_action_button_background.xml +++ b/quickstep/res/drawable-v28/gesture_tutorial_action_button_background.xml @@ -16,5 +16,4 @@ - \ No newline at end of file diff --git a/quickstep/res/drawable/bg_overview_clear_all_button.xml b/quickstep/res/drawable/bg_overview_clear_all_button.xml index fb014f75b1..f3ff6ce422 100644 --- a/quickstep/res/drawable/bg_overview_clear_all_button.xml +++ b/quickstep/res/drawable/bg_overview_clear_all_button.xml @@ -21,7 +21,7 @@ - + \ No newline at end of file diff --git a/quickstep/res/drawable/bg_taskbar_edu_tooltip.xml b/quickstep/res/drawable/bg_taskbar_edu_tooltip.xml index a20f7daf2c..20c524d0e3 100644 --- a/quickstep/res/drawable/bg_taskbar_edu_tooltip.xml +++ b/quickstep/res/drawable/bg_taskbar_edu_tooltip.xml @@ -18,5 +18,5 @@ android:shape="rectangle"> - + \ No newline at end of file diff --git a/quickstep/res/drawable/bg_wellbeing_toast.xml b/quickstep/res/drawable/bg_wellbeing_toast.xml index 4dc981f4a4..0b6684992c 100644 --- a/quickstep/res/drawable/bg_wellbeing_toast.xml +++ b/quickstep/res/drawable/bg_wellbeing_toast.xml @@ -14,8 +14,8 @@ limitations under the License. --> - + \ No newline at end of file diff --git a/quickstep/res/drawable/button_taskbar_edu_colored.xml b/quickstep/res/drawable/button_taskbar_edu_colored.xml index 70bfc9f255..a94a996499 100644 --- a/quickstep/res/drawable/button_taskbar_edu_colored.xml +++ b/quickstep/res/drawable/button_taskbar_edu_colored.xml @@ -15,14 +15,13 @@ --> + xmlns:android="http://schemas.android.com/apk/res/android"> - + diff --git a/quickstep/res/drawable/gesture_tutorial_action_button_background.xml b/quickstep/res/drawable/gesture_tutorial_action_button_background.xml index 98dc1a5f78..0adeb1dce4 100644 --- a/quickstep/res/drawable/gesture_tutorial_action_button_background.xml +++ b/quickstep/res/drawable/gesture_tutorial_action_button_background.xml @@ -13,7 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. --> - + - + \ No newline at end of file diff --git a/quickstep/res/drawable/gesture_tutorial_back_step_shape.xml b/quickstep/res/drawable/gesture_tutorial_back_step_shape.xml index 68c5eb1fbd..938934073f 100644 --- a/quickstep/res/drawable/gesture_tutorial_back_step_shape.xml +++ b/quickstep/res/drawable/gesture_tutorial_back_step_shape.xml @@ -17,11 +17,7 @@ android:height="208dp" android:viewportWidth="83" android:viewportHeight="208"> - - - - + diff --git a/quickstep/res/drawable/gesture_tutorial_home_step_shape.xml b/quickstep/res/drawable/gesture_tutorial_home_step_shape.xml index 698cba140b..f04a38ebb5 100644 --- a/quickstep/res/drawable/gesture_tutorial_home_step_shape.xml +++ b/quickstep/res/drawable/gesture_tutorial_home_step_shape.xml @@ -19,5 +19,5 @@ android:viewportHeight="66"> + android:fillColor="?attr/onSurfaceHome"/> diff --git a/quickstep/res/drawable/gesture_tutorial_menu_button_background.xml b/quickstep/res/drawable/gesture_tutorial_menu_back_button_background.xml similarity index 94% rename from quickstep/res/drawable/gesture_tutorial_menu_button_background.xml rename to quickstep/res/drawable/gesture_tutorial_menu_back_button_background.xml index 1ab776bd6e..f83ee7f66c 100644 --- a/quickstep/res/drawable/gesture_tutorial_menu_button_background.xml +++ b/quickstep/res/drawable/gesture_tutorial_menu_back_button_background.xml @@ -15,5 +15,6 @@ + diff --git a/quickstep/res/drawable/gesture_tutorial_menu_home_button_background.xml b/quickstep/res/drawable/gesture_tutorial_menu_home_button_background.xml new file mode 100644 index 0000000000..a0833ddc9a --- /dev/null +++ b/quickstep/res/drawable/gesture_tutorial_menu_home_button_background.xml @@ -0,0 +1,20 @@ + + + + + diff --git a/quickstep/res/drawable/gesture_tutorial_menu_overview_button_background.xml b/quickstep/res/drawable/gesture_tutorial_menu_overview_button_background.xml new file mode 100644 index 0000000000..3d37f05379 --- /dev/null +++ b/quickstep/res/drawable/gesture_tutorial_menu_overview_button_background.xml @@ -0,0 +1,20 @@ + + + + + diff --git a/quickstep/res/drawable/gesture_tutorial_overview_step_shape.xml b/quickstep/res/drawable/gesture_tutorial_overview_step_shape.xml index cc2c491ef3..97a129df0e 100644 --- a/quickstep/res/drawable/gesture_tutorial_overview_step_shape.xml +++ b/quickstep/res/drawable/gesture_tutorial_overview_step_shape.xml @@ -19,5 +19,5 @@ android:viewportHeight="76"> + android:fillColor="?attr/onSurfaceOverview"/> diff --git a/quickstep/res/drawable/ic_save_app_pair.xml b/quickstep/res/drawable/ic_save_app_pair.xml new file mode 100644 index 0000000000..4a7ee1ac70 --- /dev/null +++ b/quickstep/res/drawable/ic_save_app_pair.xml @@ -0,0 +1,28 @@ + + + + + + + diff --git a/quickstep/res/drawable/keyboard_quick_switch_overview_button_background.xml b/quickstep/res/drawable/keyboard_quick_switch_overview_button_background.xml index 286a3c4e4f..2a4f0872e3 100644 --- a/quickstep/res/drawable/keyboard_quick_switch_overview_button_background.xml +++ b/quickstep/res/drawable/keyboard_quick_switch_overview_button_background.xml @@ -17,6 +17,6 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" android:shape="rectangle"> - + diff --git a/quickstep/res/drawable/hotseat_icon_home.xml b/quickstep/res/drawable/redesigned_hotseat_icon.xml similarity index 91% rename from quickstep/res/drawable/hotseat_icon_home.xml rename to quickstep/res/drawable/redesigned_hotseat_icon.xml index d59dd4a88e..535756dec0 100644 --- a/quickstep/res/drawable/hotseat_icon_home.xml +++ b/quickstep/res/drawable/redesigned_hotseat_icon.xml @@ -16,6 +16,5 @@ - \ No newline at end of file diff --git a/quickstep/res/drawable/redesigned_top_task_view.xml b/quickstep/res/drawable/redesigned_top_task_view.xml new file mode 100644 index 0000000000..2c136def5e --- /dev/null +++ b/quickstep/res/drawable/redesigned_top_task_view.xml @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/quickstep/res/drawable/rotate_prompt_bg.xml b/quickstep/res/drawable/rotate_prompt_bg.xml new file mode 100644 index 0000000000..528a2bc90d --- /dev/null +++ b/quickstep/res/drawable/rotate_prompt_bg.xml @@ -0,0 +1,21 @@ + + + + + \ No newline at end of file diff --git a/quickstep/res/drawable/rotate_tutorial_warning.xml b/quickstep/res/drawable/rotate_tutorial_warning.xml new file mode 100644 index 0000000000..d1117a4321 --- /dev/null +++ b/quickstep/res/drawable/rotate_tutorial_warning.xml @@ -0,0 +1,26 @@ + + + + diff --git a/quickstep/res/drawable/task_menu_item_bg.xml b/quickstep/res/drawable/task_menu_item_bg.xml index 16c13ebebc..588fe9ec25 100644 --- a/quickstep/res/drawable/task_menu_item_bg.xml +++ b/quickstep/res/drawable/task_menu_item_bg.xml @@ -15,8 +15,7 @@ limitations under the License. --> - - + + diff --git a/quickstep/res/drawable/redesigned_default_sandbox_app_icon.xml b/quickstep/res/drawable/taskbar_divider_bg.xml similarity index 78% rename from quickstep/res/drawable/redesigned_default_sandbox_app_icon.xml rename to quickstep/res/drawable/taskbar_divider_bg.xml index cb94d9a8fc..52e230dadd 100644 --- a/quickstep/res/drawable/redesigned_default_sandbox_app_icon.xml +++ b/quickstep/res/drawable/taskbar_divider_bg.xml @@ -1,10 +1,12 @@ - - + android:shape="rectangle" > + + diff --git a/quickstep/res/layout-land/keyboard_quick_switch_taskview.xml b/quickstep/res/layout-land/keyboard_quick_switch_taskview.xml index 18c0e1f444..4e676298c8 100644 --- a/quickstep/res/layout-land/keyboard_quick_switch_taskview.xml +++ b/quickstep/res/layout-land/keyboard_quick_switch_taskview.xml @@ -23,30 +23,65 @@ android:importantForAccessibility="yes" android:background="@drawable/keyboard_quick_switch_task_view_background" android:clipToOutline="true" - launcher:borderColor="?androidprv:attr/colorAccentSecondaryVariant"> + launcher:borderColor="?androidprv:attr/materialColorOutline"> - + app:layout_constraintEnd_toEndOf="parent"> - + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toStartOf="@id/thumbnail2"/> + + + + + + + + diff --git a/quickstep/res/layout-land/redesigned_gesture_tutorial_mock_hotseat.xml b/quickstep/res/layout-land/redesigned_gesture_tutorial_mock_hotseat.xml index 6c08d14b6b..3b484dc5c9 100644 --- a/quickstep/res/layout-land/redesigned_gesture_tutorial_mock_hotseat.xml +++ b/quickstep/res/layout-land/redesigned_gesture_tutorial_mock_hotseat.xml @@ -22,49 +22,46 @@ android:paddingVertical="26dp" android:paddingHorizontal="56dp"> + + + android:background="@drawable/redesigned_hotseat_icon" + android:clipToOutline="true" /> + android:background="@drawable/redesigned_hotseat_icon" + android:clipToOutline="true" /> + android:background="@drawable/redesigned_hotseat_icon" + android:clipToOutline="true" /> + android:background="@drawable/redesigned_hotseat_icon" + android:clipToOutline="true" /> \ No newline at end of file diff --git a/quickstep/res/layout-land/redesigned_gesture_tutorial_tablet_mock_hotseat.xml b/quickstep/res/layout-land/redesigned_gesture_tutorial_tablet_mock_hotseat.xml new file mode 100644 index 0000000000..4f1fabe538 --- /dev/null +++ b/quickstep/res/layout-land/redesigned_gesture_tutorial_tablet_mock_hotseat.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/quickstep/res/layout-sw600dp-land/gesture_tutorial_step_menu.xml b/quickstep/res/layout-sw600dp-land/gesture_tutorial_step_menu.xml index 39c7e73d2d..225b4cdc39 100644 --- a/quickstep/res/layout-sw600dp-land/gesture_tutorial_step_menu.xml +++ b/quickstep/res/layout-sw600dp-land/gesture_tutorial_step_menu.xml @@ -15,24 +15,27 @@ --> + android:background="?androidprv:attr/materialColorSurfaceContainer"> @@ -40,13 +43,15 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/gesture_tutorial_home_step_shape" + android:scaleType="fitXY" + android:adjustViewBounds="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent"/> @@ -77,12 +83,14 @@ android:layout_height="wrap_content" android:src="@drawable/gesture_tutorial_back_step_shape" android:layout_marginBottom="@dimen/gesture_tutorial_menu_back_shape_bottom_margin" + android:scaleType="fitXY" + android:adjustViewBounds="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent"/> @@ -111,13 +120,15 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/gesture_tutorial_overview_step_shape" + android:scaleType="fitXY" + android:adjustViewBounds="true" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent"/> - - + android:gravity="center_horizontal" - - - \ No newline at end of file diff --git a/quickstep/res/layout/activity_allset.xml b/quickstep/res/layout/activity_allset.xml index 7ea92b59d1..2c312a7e33 100644 --- a/quickstep/res/layout/activity_allset.xml +++ b/quickstep/res/layout/activity_allset.xml @@ -14,33 +14,43 @@ See the License for the specific language governing permissions and limitations under the License. --> - + android:fitsSystemWindows="false" + android:background="@color/all_set_page_background"> - + android:gravity="center" + android:scaleType="centerCrop" + app:lottie_autoPlay="true" + app:lottie_loop="true" - + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent"/> + + - + + + - + - \ No newline at end of file + \ No newline at end of file diff --git a/quickstep/res/layout-sw600dp/allset_navigation_and_hint.xml b/quickstep/res/layout/allset_navigation.xml similarity index 76% rename from quickstep/res/layout-sw600dp/allset_navigation_and_hint.xml rename to quickstep/res/layout/allset_navigation.xml index 44b3ecbd97..76b24af488 100644 --- a/quickstep/res/layout-sw600dp/allset_navigation_and_hint.xml +++ b/quickstep/res/layout/allset_navigation.xml @@ -22,21 +22,15 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="24dp" + android:layout_marginBottom="24dp" android:background="?android:attr/selectableItemBackground" android:minHeight="48dp" android:text="@string/allset_navigation_settings" - app:layout_constraintTop_toBottomOf="@id/subtitle" - app:layout_constraintStart_toStartOf="parent" /> + android:gravity="center_horizontal" - diff --git a/quickstep/res/layout/bubble_view.xml b/quickstep/res/layout/bubble_view.xml new file mode 100644 index 0000000000..0b1ed9f343 --- /dev/null +++ b/quickstep/res/layout/bubble_view.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/quickstep/res/layout/bubblebar_item_view.xml b/quickstep/res/layout/bubblebar_item_view.xml new file mode 100644 index 0000000000..64fc4dfa3d --- /dev/null +++ b/quickstep/res/layout/bubblebar_item_view.xml @@ -0,0 +1,21 @@ + + + diff --git a/quickstep/res/layout/digital_wellbeing_toast.xml b/quickstep/res/layout/digital_wellbeing_toast.xml index d5e367097a..42cddbfa0d 100644 --- a/quickstep/res/layout/digital_wellbeing_toast.xml +++ b/quickstep/res/layout/digital_wellbeing_toast.xml @@ -16,7 +16,7 @@ --> \ No newline at end of file diff --git a/quickstep/res/layout/gesture_tutorial_activity.xml b/quickstep/res/layout/gesture_tutorial_activity.xml index 4dc8913ef5..0e763ec734 100644 --- a/quickstep/res/layout/gesture_tutorial_activity.xml +++ b/quickstep/res/layout/gesture_tutorial_activity.xml @@ -13,7 +13,80 @@ See the License for the specific language governing permissions and limitations under the License. --> - \ No newline at end of file + android:layout_height="match_parent"> + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/quickstep/res/layout/gesture_tutorial_fragment.xml b/quickstep/res/layout/gesture_tutorial_fragment.xml index 3bd0df0349..64ad1f7f4e 100644 --- a/quickstep/res/layout/gesture_tutorial_fragment.xml +++ b/quickstep/res/layout/gesture_tutorial_fragment.xml @@ -175,6 +175,7 @@ android:paddingEnd="26dp" android:text="@string/gesture_tutorial_action_button_label" android:background="@drawable/gesture_tutorial_action_button_background" + android:backgroundTint="?android:attr/colorAccent" android:stateListAnimator="@null" android:visibility="invisible" diff --git a/quickstep/res/layout/gesture_tutorial_mock_task_view.xml b/quickstep/res/layout/gesture_tutorial_mock_task_view.xml deleted file mode 100644 index 609e5f858b..0000000000 --- a/quickstep/res/layout/gesture_tutorial_mock_task_view.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - \ No newline at end of file diff --git a/quickstep/res/layout/gesture_tutorial_step_menu.xml b/quickstep/res/layout/gesture_tutorial_step_menu.xml index 2836259e1a..cf78b1b016 100644 --- a/quickstep/res/layout/gesture_tutorial_step_menu.xml +++ b/quickstep/res/layout/gesture_tutorial_step_menu.xml @@ -15,22 +15,23 @@ --> + launcher:borderColor="?androidprv:attr/materialColorOutline"> - - - + app:layout_constraintEnd_toEndOf="parent"> + + + + + + diff --git a/quickstep/res/layout/keyboard_quick_switch_taskview.xml b/quickstep/res/layout/keyboard_quick_switch_taskview.xml index 48e62766e2..4d213fadbb 100644 --- a/quickstep/res/layout/keyboard_quick_switch_taskview.xml +++ b/quickstep/res/layout/keyboard_quick_switch_taskview.xml @@ -23,7 +23,17 @@ android:importantForAccessibility="yes" android:background="@drawable/keyboard_quick_switch_task_view_background" android:clipToOutline="true" - launcher:borderColor="?androidprv:attr/colorAccentSecondaryVariant"> + launcher:borderColor="?androidprv:attr/materialColorOutline"> + + + + + + + + diff --git a/quickstep/res/layout/keyboard_quick_switch_thumbnail.xml b/quickstep/res/layout/keyboard_quick_switch_thumbnail.xml index cd6587cc06..dde9cac05a 100644 --- a/quickstep/res/layout/keyboard_quick_switch_thumbnail.xml +++ b/quickstep/res/layout/keyboard_quick_switch_thumbnail.xml @@ -19,4 +19,5 @@ android:layout_height="match_parent" android:scaleType="centerCrop" android:background="@drawable/keyboard_quick_switch_task_view_background" - android:clipToOutline="true"/> + android:clipToOutline="true" + android:importantForAccessibility="no"/> diff --git a/quickstep/res/layout/keyboard_quick_switch_view.xml b/quickstep/res/layout/keyboard_quick_switch_view.xml index 5c20a2db3c..16abdeefcf 100644 --- a/quickstep/res/layout/keyboard_quick_switch_view.xml +++ b/quickstep/res/layout/keyboard_quick_switch_view.xml @@ -15,17 +15,55 @@ --> + android:focusableInTouchMode="true" + app:layout_ignoreInsets="true"> + + + + + + + + + android:layout_height="wrap_content" + android:paddingVertical="@dimen/keyboard_quick_switch_view_spacing" + android:clipToPadding="false"/> diff --git a/quickstep/res/layout/overview_clear_all_button.xml b/quickstep/res/layout/overview_clear_all_button.xml index 1dea57e4b7..da94c3a1a7 100644 --- a/quickstep/res/layout/overview_clear_all_button.xml +++ b/quickstep/res/layout/overview_clear_all_button.xml @@ -16,10 +16,11 @@ --> \ No newline at end of file diff --git a/quickstep/res/layout/redesigned_gesture_tutorial_foldable_mock_hotseat.xml b/quickstep/res/layout/redesigned_gesture_tutorial_foldable_mock_hotseat.xml new file mode 100644 index 0000000000..154ca1af62 --- /dev/null +++ b/quickstep/res/layout/redesigned_gesture_tutorial_foldable_mock_hotseat.xml @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/quickstep/res/layout/redesigned_gesture_tutorial_fragment.xml b/quickstep/res/layout/redesigned_gesture_tutorial_fragment.xml index 43439c693e..a1bcad0a7c 100644 --- a/quickstep/res/layout/redesigned_gesture_tutorial_fragment.xml +++ b/quickstep/res/layout/redesigned_gesture_tutorial_fragment.xml @@ -42,8 +42,6 @@ android:id="@+id/gesture_tutorial_fake_previous_task_view" android:layout_width="match_parent" android:layout_height="match_parent" - android:scaleX="0.98" - android:scaleY="0.98" android:visibility="invisible"> - - @@ -205,25 +193,26 @@ android:id="@+id/checkmark_animation" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginBottom="44dp" android:gravity="center" android:scaleType="centerCrop" app:lottie_loop="false" android:visibility="gone" - app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@id/gesture_tutorial_fragment_feedback_subtitle" /> + app:layout_constraintTop_toBottomOf="@id/gesture_tutorial_fragment_feedback_subtitle" + app:layout_constraintBottom_toBottomOf="parent" />