mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Merge "Preserve top/bottom padding in PredictionRowView on updating insets." into ub-launcher3-master
This commit is contained in:
committed by
Android (Google) Code Review
commit
7c5756bcf3
@@ -674,8 +674,9 @@ public class AllAppsContainerView extends RelativeLayout implements DragSource,
|
||||
recyclerView.setPadding(padding.left, paddingTop, padding.right, padding.bottom);
|
||||
}
|
||||
if (isHeaderVisible()) {
|
||||
mHeader.getPredictionRow()
|
||||
.setPadding(padding.left, 0 , padding.right, 0);
|
||||
PredictionRowView prv = mHeader.getPredictionRow();
|
||||
prv.setPadding(padding.left, prv.getPaddingTop() , padding.right,
|
||||
prv.getPaddingBottom());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user