mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Added "1.5" column mode
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user