Android: BottomSheetFragment Keyboard problem?

Use this in your Dialog Fragment.

Inside onCreateView like this.