Bottom Sheet Fragment comes up with keyboard

前端 未结 7 1779
野的像风
野的像风 2020-12-04 14:37

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         


        
7条回答
  •  暖寄归人
    2020-12-04 15:25

    in the activity declaration in the manifest, put these lines of code:

    android:windowSoftInputMode="stateHidden"
    android:windowTranslucentNavigation="true"
    android:windowTranslucentStatus="true" 
    

提交回复
热议问题