Panagiotis Triantafyllou

minor fix

...@@ -597,6 +597,9 @@ public class HomeActivity extends Activity implements View.OnClickListener, Coup ...@@ -597,6 +597,9 @@ public class HomeActivity extends Activity implements View.OnClickListener, Coup
597 View bottomSheet = bottomSheetDialog.findViewById(com.google.android.material.R.id.design_bottom_sheet); 597 View bottomSheet = bottomSheetDialog.findViewById(com.google.android.material.R.id.design_bottom_sheet);
598 if (bottomSheet != null) { 598 if (bottomSheet != null) {
599 bottomSheet.post(() -> { 599 bottomSheet.post(() -> {
600 + // Disable fitsSystemWindows so the BottomSheet doesn't add nav bar padding automatically
601 + bottomSheet.setFitsSystemWindows(false);
602 +
600 int screenHeight = getResources().getDisplayMetrics().heightPixels; 603 int screenHeight = getResources().getDisplayMetrics().heightPixels;
601 ViewGroup.LayoutParams lp = bottomSheet.getLayoutParams(); 604 ViewGroup.LayoutParams lp = bottomSheet.getLayoutParams();
602 lp.height = screenHeight; 605 lp.height = screenHeight;
......