Fixed library snackbar in landscape
This commit is contained in:
parent
dfe02234f2
commit
a86611c644
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ class SortFilterBottomSheet @JvmOverloads constructor(context: Context, attrs: A
|
||||||
val height = context.resources.getDimensionPixelSize(R.dimen.rounder_radius)
|
val height = context.resources.getDimensionPixelSize(R.dimen.rounder_radius)
|
||||||
pager?.setPadding(0, 0, 0, if (phoneLandscape) 0 else
|
pager?.setPadding(0, 0, 0, if (phoneLandscape) 0 else
|
||||||
(top_bar.height - height))
|
(top_bar.height - height))
|
||||||
coordLayout.setPadding(0, 0, 0, top_bar.height)
|
coordLayout.setPadding(0, 0, 0, peekingHeight)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
updateRootPadding()
|
updateRootPadding()
|
||||||
|
|
Reference in a new issue