fixing some blocked number paddings
This commit is contained in:
parent
10c7cf2917
commit
4da0ee0cf4
2 changed files with 3 additions and 3 deletions
|
@ -219,11 +219,11 @@ abstract class BaseSimpleActivity : AppCompatActivity() {
|
|||
if (useTransparentNavigation) {
|
||||
if (navigationBarHeight > 0 || isUsingGestureNavigation()) {
|
||||
window.decorView.systemUiVisibility = window.decorView.systemUiVisibility.addBit(View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION)
|
||||
nestedView?.setPadding(0, 0, 0, navigationBarHeight)
|
||||
nestedView?.setPadding(nestedView!!.paddingLeft, nestedView!!.paddingTop, nestedView!!.paddingRight, navigationBarHeight)
|
||||
(mainCoordinatorLayout?.layoutParams as? FrameLayout.LayoutParams)?.topMargin = statusBarHeight
|
||||
} else {
|
||||
window.decorView.systemUiVisibility = window.decorView.systemUiVisibility.removeBit(View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION)
|
||||
nestedView?.setPadding(0, 0, 0, 0)
|
||||
nestedView?.setPadding(nestedView!!.paddingLeft, nestedView!!.paddingTop, nestedView!!.paddingRight, 0)
|
||||
(mainCoordinatorLayout?.layoutParams as? FrameLayout.LayoutParams)?.topMargin = 0
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ class ManageBlockedNumbersActivity : BaseSimpleActivity(), RefreshRecyclerViewLi
|
|||
updateBlockedNumbers()
|
||||
setupOptionsMenu()
|
||||
|
||||
updateMaterialActivityViews(block_numbers_coordinator, manage_blocked_numbers_wrapper, true)
|
||||
updateMaterialActivityViews(block_numbers_coordinator, manage_blocked_numbers_list, true)
|
||||
setupMaterialScrollListener(manage_blocked_numbers_list, block_numbers_toolbar)
|
||||
updateTextColors(manage_blocked_numbers_wrapper)
|
||||
updatePlaceholderTexts()
|
||||
|
|
Loading…
Reference in a new issue