diff --git a/res/drawable-v28/widgets_bottom_sheet_background.xml b/res/drawable/bg_widgets_full_sheet.xml similarity index 65% rename from res/drawable-v28/widgets_bottom_sheet_background.xml rename to res/drawable/bg_widgets_full_sheet.xml index 7fb8681301..dfcd354ce7 100644 --- a/res/drawable-v28/widgets_bottom_sheet_background.xml +++ b/res/drawable/bg_widgets_full_sheet.xml @@ -1,6 +1,5 @@ - + - + android:shape="rectangle" > + + android:topLeftRadius="@dimen/dialogCornerRadius" + android:topRightRadius="@dimen/dialogCornerRadius" /> \ No newline at end of file diff --git a/res/drawable/bg_widgets_picker_handle.xml b/res/drawable/bg_widgets_picker_handle.xml deleted file mode 100644 index 68681a684d..0000000000 --- a/res/drawable/bg_widgets_picker_handle.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/res/drawable/widgets_bottom_sheet_background.xml b/res/drawable/widgets_bottom_sheet_background.xml deleted file mode 100644 index b877546656..0000000000 --- a/res/drawable/widgets_bottom_sheet_background.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/res/layout/widgets_bottom_sheet_content.xml b/res/layout/widgets_bottom_sheet_content.xml index 3d330dce85..1a2cfc6f93 100644 --- a/res/layout/widgets_bottom_sheet_content.xml +++ b/res/layout/widgets_bottom_sheet_content.xml @@ -18,7 +18,7 @@ android:id="@+id/widgets_bottom_sheet" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="@drawable/widgets_bottom_sheet_background" + android:background="@drawable/bg_rounded_corner_bottom_sheet" android:paddingTop="16dp" android:orientation="vertical"> + android:theme="?attr/widgetsTheme"> - + android:background="@drawable/bg_widgets_full_sheet"> + + @@ -57,9 +66,10 @@ android:id="@+id/search_widgets_list_view" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_below="@id/collapse_handle" android:layout_marginHorizontal="@dimen/widget_list_horizontal_margin" android:visibility="gone" android:clipToPadding="false" /> - + \ No newline at end of file diff --git a/res/layout/widgets_full_sheet_paged_view.xml b/res/layout/widgets_full_sheet_paged_view.xml index fefad19ae3..85f14cda4f 100644 --- a/res/layout/widgets_full_sheet_paged_view.xml +++ b/res/layout/widgets_full_sheet_paged_view.xml @@ -22,7 +22,7 @@ android:layout_height="match_parent" android:layout_marginHorizontal="@dimen/widget_list_horizontal_margin" android:clipToPadding="false" - android:paddingTop="@dimen/widget_picker_view_pager_top_padding" + android:layout_below="@id/collapse_handle" android:descendantFocusability="afterDescendants" launcher:pageIndicator="@+id/tabs"> @@ -40,5 +40,84 @@ - + + + + + + + + + + + + + +