I have an edit text inside a bottom sheet fragment. when the focus come on the edit text the layout goes up . i tried
android:windowSoftInputMode=\"adjustNo
Get the decor view of the dialog and set the bottom padding to height 0 or your dialog height.
0
getDialog.getWindow.getDecorView.setpadding(0,0,0,0);