Fixed drawer width in 3 column mode

This commit is contained in:
M66B 2020-06-09 10:07:01 +02:00
parent 5c41bbd755
commit d1fd862785
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
int screenWidth = Math.min(dm.widthPixels, dm.heightPixels);
drawerWidth = screenWidth - actionBarHeight;
} else
drawerWidth = dm.widthPixels / 3;
drawerWidth = Helper.dp2pixels(this, 300);
ViewGroup.LayoutParams lparam = drawerContainer.getLayoutParams();
lparam.width = drawerWidth;