Merge "Hide FloatingHeaderView while in Search state." into tm-qpr-dev am: 2c5f545d0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20104878 Change-Id: I00190aa54aef4dedaf1d2bb954a6d1105590c094 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -532,9 +532,11 @@ public abstract class BaseAllAppsContainerView<T extends Context & ActivityConte
|
||||
if (isSearching()) {
|
||||
getSearchRecyclerView().setVisibility(VISIBLE);
|
||||
getAppsRecyclerViewContainer().setVisibility(GONE);
|
||||
mHeader.setVisibility(GONE);
|
||||
} else {
|
||||
getSearchRecyclerView().setVisibility(GONE);
|
||||
getAppsRecyclerViewContainer().setVisibility(VISIBLE);
|
||||
mHeader.setVisibility(VISIBLE);
|
||||
}
|
||||
if (mHeader.isSetUp()) {
|
||||
mHeader.setActiveRV(getCurrentPage());
|
||||
|
||||
@@ -124,6 +124,7 @@ public class SearchTransitionController {
|
||||
mSearchToAzAnimator.addListener(forSuccessCallback(onEndRunnable));
|
||||
|
||||
mAllAppsContainerView.getFloatingHeaderView().setFloatingRowsCollapsed(true);
|
||||
mAllAppsContainerView.getFloatingHeaderView().setVisibility(VISIBLE);
|
||||
mAllAppsContainerView.getAppsRecyclerViewContainer().setVisibility(VISIBLE);
|
||||
getSearchRecyclerView().setVisibility(VISIBLE);
|
||||
getSearchRecyclerView().setChildAttachedConsumer(this::onSearchChildAttached);
|
||||
|
||||
Reference in New Issue
Block a user