I used a scrollview and outside of it I put a bottom navigation view so that it stay there when some one is scrolling, the problem is that when I try to input a field in the scrollviev the bottom navigation view appears above the keyboard, I also have another problem where when ever I open my app it automaticall tries to input a field and it shows the keyboard . please help
You can add this in your manifest file inside of the activity tag
<activity> android:windowSoftInputMode="adjustPan" </activity>
AdjustResize : Main activity's content is resized to make room for soft input ie keyboard
AdjustPan : Instead of resizing overall contents of the window, it only pans the content so that the user can always see what is he typing
AdjustNothing : As the name suggests nothing is resized or panned. Keyboard is opened as it is irrespective of whether it is hiding the contents or not.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.