Scroll AllApps to top when new padding is set.
Bug: 198212488 Test: presubmit Change-Id: I084939e3c7685531c56b1478887fd872e0e101e9
This commit is contained in:
committed by
sfufa@google.com
parent
305d0463b1
commit
2397d60074
@@ -624,6 +624,9 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo
|
||||
for (int i = 0; i < mAH.length; i++) {
|
||||
mAH[i].padding.top = padding;
|
||||
mAH[i].applyPadding();
|
||||
if (mAH[i].recyclerView != null) {
|
||||
mAH[i].recyclerView.scrollToTop();
|
||||
}
|
||||
}
|
||||
mHeaderTop = mHeader.getTop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user