问题
I have a BottomSheetDialog that pops up on click of a button. The Dialog contains an EditText, and on the focus of that EditText, the Dialogs Pans only up to the EditText, Leaving my Submit button below it hidden
My Code:
mBottomSheetDialog = new BottomSheetDialog(MyActivity.this);
sheetView = getLayoutInflater().inflate(R.layout.my_bottom_sheet, null);
mBottomSheetDialog.setContentView(myView);
mBottomSheetDialog.show();
I have Tried using adjustPan, but that only works up to the EditText, whereas I want it to my Submit button
来源:https://stackoverflow.com/questions/54703281/how-can-i-get-my-entire-bottomsheetdialog-to-show-above-my-keyboard