diff --git a/quickstep/res/values/styles.xml b/quickstep/res/values/styles.xml index 0a6e764b8a..3ca030df3e 100644 --- a/quickstep/res/values/styles.xml +++ b/quickstep/res/values/styles.xml @@ -383,20 +383,26 @@ diff --git a/quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java b/quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java index 1ad74adc0b..c89c563614 100644 --- a/quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java +++ b/quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java @@ -462,6 +462,7 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer, return; } getTheme().applyStyle(getBlurStyleResId(), true); + getAppsView().getContext().getTheme().applyStyle(getBlurStyleResId(), true); getAppsView().onThemeChanged(); } diff --git a/res/drawable/bg_rounded_corner_bottom_sheet_handle.xml b/res/drawable/bg_rounded_corner_bottom_sheet_handle.xml index b0bd33bb51..bf5d842577 100644 --- a/res/drawable/bg_rounded_corner_bottom_sheet_handle.xml +++ b/res/drawable/bg_rounded_corner_bottom_sheet_handle.xml @@ -16,6 +16,6 @@ - + diff --git a/res/drawable/private_space_app_divider.xml b/res/drawable/private_space_app_divider.xml index f92dca73d5..81cb4017b0 100644 --- a/res/drawable/private_space_app_divider.xml +++ b/res/drawable/private_space_app_divider.xml @@ -16,6 +16,6 @@ - + \ No newline at end of file diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 581be98f9e..38445c9af4 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -26,6 +26,8 @@ + + diff --git a/res/values/styles.xml b/res/values/styles.xml index 6ed5a77a92..f287273830 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -47,6 +47,8 @@ @color/materialColorSurfaceContainerHighest @color/materialColorSurfaceBright @color/materialColorSurfaceBright + @color/materialColorOutlineVariant + @color/materialColorOutlineVariant @color/popup_color_primary_light @color/popup_color_secondary_light @color/popup_color_tertiary_light diff --git a/src/com/android/launcher3/allapps/ActivityAllAppsContainerView.java b/src/com/android/launcher3/allapps/ActivityAllAppsContainerView.java index e87b42a627..c408a3021f 100644 --- a/src/com/android/launcher3/allapps/ActivityAllAppsContainerView.java +++ b/src/com/android/launcher3/allapps/ActivityAllAppsContainerView.java @@ -176,6 +176,7 @@ public class ActivityAllAppsContainerView private SearchRecyclerView mSearchRecyclerView; protected SearchAdapterProvider mMainAdapterProvider; private View mBottomSheetHandleArea; + private View mBottomSheetHandle; private boolean mHasWorkApps; private boolean mHasPrivateApps; private float[] mBottomSheetCornerRadii; @@ -273,6 +274,7 @@ public class ActivityAllAppsContainerView mAdditionalHeaderRows.addAll(getAdditionalHeaderRows()); mBottomSheetBackground = findViewById(R.id.bottom_sheet_background); mBottomSheetHandleArea = findViewById(R.id.bottom_sheet_handle_area); + mBottomSheetHandle = findViewById(R.id.bottom_sheet_handle); mSearchRecyclerView = findViewById(R.id.search_results_list_view); mFastScroller = findViewById(R.id.fast_scroller); mFastScroller.setPopupView(findViewById(R.id.fast_scroller_popup)); @@ -861,6 +863,8 @@ public class ActivityAllAppsContainerView forAllRecyclerViews(RecyclerView::invalidateItemDecorations); getSearchUiManager().onThemeChanged(); getFloatingHeaderView().getTabLayout().updateTheme(); + mBottomSheetHandle.setBackground(getContext().getDrawable( + R.drawable.bg_rounded_corner_bottom_sheet_handle)); } /**