fixed drawer menu paddings
This commit is contained in:
parent
bec13f7188
commit
743d2a150c
|
@ -277,6 +277,8 @@ class AccountsDashboardFragment : BaseFragment(), LoaderCallbacks<AccountsInfo>,
|
|||
}
|
||||
|
||||
override fun onApplySystemWindowInsets(insets: Rect) {
|
||||
view?.findViewById<View?>(android.support.design.R.id.design_navigation_view)?.
|
||||
setPadding(0, 0, 0, insets.bottom)
|
||||
systemWindowsInsets.set(insets)
|
||||
updateSystemWindowsInsets()
|
||||
}
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
android:id="@+id/navigationView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:clipToPadding="false"
|
||||
android:focusable="true"
|
||||
app:headerLayout="@layout/header_drawer_account_selector"
|
||||
app:menu="@menu/menu_account_dashboard"
|
||||
|
|
Loading…
Reference in New Issue