mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-12 01:21:09 -07:00
Try to prevent clipped DrawerLayout
This commit is contained in:
parent
191c37161d
commit
c9e9466977
1 changed files with 2 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ public class MainActivity extends BaseActivity implements ControlButtonMenuListe
|
|||
bindValues();
|
||||
mControlLayout.setMenuListener(this);
|
||||
|
||||
mDrawerPullButton.setOnClickListener(v -> drawerLayout.openDrawer(navDrawer));
|
||||
mDrawerPullButton.setOnClickListener(v -> onClickedMenu());
|
||||
drawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED);
|
||||
|
||||
try {
|
||||
|
|
@ -562,5 +562,6 @@ public class MainActivity extends BaseActivity implements ControlButtonMenuListe
|
|||
@Override
|
||||
public void onClickedMenu() {
|
||||
drawerLayout.openDrawer(navDrawer);
|
||||
navDrawer.requestLayout();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue