Merge "Fix switching between work and personal profile in widget picker not clipping recyclerview" into udc-dev am: 0ca0b6124d am: 04f06d0236

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23335355

Change-Id: I6e14f1a2f202d0e857630e53a6e7b7d38dd7682a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Federico Baron
2023-05-23 17:15:44 +00:00
committed by Automerger Merge Worker
4 changed files with 7 additions and 9 deletions
+1
View File
@@ -58,6 +58,7 @@
<com.android.launcher3.views.RecyclerViewFastScroller <com.android.launcher3.views.RecyclerViewFastScroller
android:id="@+id/fast_scroller" android:id="@+id/fast_scroller"
android:layout_width="@dimen/fastscroll_width" android:layout_width="@dimen/fastscroll_width"
android:elevation="1dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
+3 -1
View File
@@ -48,7 +48,6 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/collapse_handle" android:layout_below="@id/collapse_handle"
android:paddingBottom="0dp" android:paddingBottom="0dp"
android:layout_marginHorizontal="@dimen/widget_list_horizontal_margin"
android:clipToOutline="true" android:clipToOutline="true"
android:orientation="vertical"> android:orientation="vertical">
@@ -67,6 +66,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:elevation="0.1dp" android:elevation="0.1dp"
android:paddingHorizontal="@dimen/widget_list_horizontal_margin"
android:background="?attr/widgetPickerPrimarySurfaceColor" android:background="?attr/widgetPickerPrimarySurfaceColor"
android:paddingBottom="8dp" android:paddingBottom="8dp"
launcher:layout_sticky="true"> launcher:layout_sticky="true">
@@ -78,6 +78,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:layout_marginHorizontal="@dimen/widget_list_horizontal_margin"
android:background="@drawable/widgets_surface_background" android:background="@drawable/widgets_surface_background"
android:paddingVertical="@dimen/recommended_widgets_table_vertical_padding" android:paddingVertical="@dimen/recommended_widgets_table_vertical_padding"
android:visibility="gone" /> android:visibility="gone" />
@@ -89,6 +90,7 @@
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:orientation="horizontal" android:orientation="horizontal"
android:paddingVertical="8dp" android:paddingVertical="8dp"
android:paddingHorizontal="@dimen/widget_list_horizontal_margin"
android:background="?attr/widgetPickerPrimarySurfaceColor" android:background="?attr/widgetPickerPrimarySurfaceColor"
style="@style/TextHeadline" style="@style/TextHeadline"
launcher:layout_sticky="true"> launcher:layout_sticky="true">
@@ -13,14 +13,14 @@
limitations under the License. limitations under the License.
--> -->
<merge xmlns:android="http://schemas.android.com/apk/res/android" <merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:launcher="http://schemas.android.com/apk/res-auto" xmlns:launcher="http://schemas.android.com/apk/res-auto">
xmlns:app="http://schemas.android.com/apk/res-auto">
<FrameLayout <FrameLayout
android:id="@+id/widgets_two_pane_sheet_paged_view" android:id="@+id/widgets_two_pane_sheet_paged_view"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:gravity="start" android:gravity="start"
android:paddingHorizontal="@dimen/widget_list_horizontal_margin_two_pane"
android:layout_gravity="start" android:layout_gravity="start"
android:layout_alignParentStart="true"> android:layout_alignParentStart="true">
<com.android.launcher3.widget.picker.WidgetPagedView <com.android.launcher3.widget.picker.WidgetPagedView
@@ -29,7 +29,6 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:clipToPadding="false" android:clipToPadding="false"
android:descendantFocusability="afterDescendants" android:descendantFocusability="afterDescendants"
android:paddingHorizontal="@dimen/widget_list_horizontal_margin_two_pane"
launcher:pageIndicator="@+id/tabs" > launcher:pageIndicator="@+id/tabs" >
<com.android.launcher3.widget.picker.WidgetsRecyclerView <com.android.launcher3.widget.picker.WidgetsRecyclerView
@@ -62,7 +61,6 @@
android:clipToPadding="false" android:clipToPadding="false"
android:elevation="0.1dp" android:elevation="0.1dp"
android:paddingBottom="8dp" android:paddingBottom="8dp"
android:paddingHorizontal="@dimen/widget_list_horizontal_margin_two_pane"
launcher:layout_sticky="true"> launcher:layout_sticky="true">
<include layout="@layout/widgets_search_bar" /> <include layout="@layout/widgets_search_bar" />
@@ -73,7 +71,6 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:id="@+id/suggestions_header" android:id="@+id/suggestions_header"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:layout_marginHorizontal="@dimen/widget_list_horizontal_margin_two_pane"
android:orientation="horizontal" android:orientation="horizontal"
android:background="?attr/widgetPickerPrimarySurfaceColor" android:background="?attr/widgetPickerPrimarySurfaceColor"
launcher:layout_sticky="true"> launcher:layout_sticky="true">
@@ -86,7 +83,6 @@
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:orientation="horizontal" android:orientation="horizontal"
android:paddingVertical="8dp" android:paddingVertical="8dp"
android:layout_marginHorizontal="@dimen/widget_list_horizontal_margin_two_pane"
android:background="?attr/widgetPickerPrimarySurfaceColor" android:background="?attr/widgetPickerPrimarySurfaceColor"
style="@style/TextHeadline" style="@style/TextHeadline"
launcher:layout_sticky="true"> launcher:layout_sticky="true">
@@ -13,8 +13,7 @@
limitations under the License. limitations under the License.
--> -->
<merge xmlns:android="http://schemas.android.com/apk/res/android" <merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:launcher="http://schemas.android.com/apk/res-auto" xmlns:launcher="http://schemas.android.com/apk/res-auto">
xmlns:app="http://schemas.android.com/apk/res-auto">
<FrameLayout <FrameLayout
android:id="@+id/widgets_two_pane_sheet_recyclerview" android:id="@+id/widgets_two_pane_sheet_recyclerview"