Added "1.5" column mode

This commit is contained in:
M66B
2020-08-07 16:09:25 +02:00
parent dacdc16559
commit 45fdf9efc6
3 changed files with 4 additions and 6 deletions

View File

@@ -197,7 +197,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
Log.i("Drawer opened");
owner.start();
if (normal && landscape && landscape3 &&
if (normal && landscape3 &&
config.orientation == Configuration.ORIENTATION_LANDSCAPE) {
drawerLayout.setDrawerLockMode(LOCK_MODE_LOCKED_OPEN);
childContent.setPaddingRelative(childDrawer.getLayoutParams().width, 0, 0, 0);
@@ -214,7 +214,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
else
owner.stop();
if (normal && landscape && landscape3 &&
if (normal && landscape3 &&
config.orientation == Configuration.ORIENTATION_LANDSCAPE)
childContent.setPaddingRelative(
Math.round(slideOffset * childDrawer.getLayoutParams().width), 0, 0, 0);