Fix search suggestion bottom

This commit is contained in:
tehcneko committed 2021-03-17 11:14:43 +08:00
1 parent aee2df1b4f
commit 086476afdc
2 files changed
+2

No files matched your search

@@ -1395,6 +1395,7 @@ public class FavoritesScene extends BaseScene implements
int gallery_search_bar_margin_v = getResources().getDimensionPixelOffset(R.dimen.gallery_search_bar_margin_v);
FrameLayout.LayoutParams layoutParams = (FrameLayout.LayoutParams) mSearchBar.getLayoutParams();
layoutParams.topMargin = insets1.top + gallery_search_bar_margin_v;
layoutParams.bottomMargin = insets1.bottom + gallery_search_bar_margin_v;
}
if (mContentLayout != null) {
mContentLayout.setTopInsets(insets1.top);
@@ -1986,6 +1986,7 @@ public final class GalleryListScene extends BaseScene
int gallery_search_bar_margin_v = getResources().getDimensionPixelOffset(R.dimen.gallery_search_bar_margin_v);
FrameLayout.LayoutParams layoutParams = (FrameLayout.LayoutParams) mSearchBar.getLayoutParams();
layoutParams.topMargin = insets1.top + gallery_search_bar_margin_v;
layoutParams.bottomMargin = insets1.bottom + gallery_search_bar_margin_v;
}
if (mContentLayout != null) {
mContentLayout.setTopInsets(insets1.top);