mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 08:35:37 -04:00
Try to prevent clipped DrawerLayout
This commit is contained in:
parent
191c37161d
commit
c9e9466977
@ -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…
x
Reference in New Issue
Block a user