Yetzel :
Whenever I start the app, the soft input automatically pops up since it detects a edittext on the screen. Now I am aware that a method in order to prevent this from happening would be to include android:windowSoftInputMode="stateHidden"
into the manifest. However, my application relies on windowSoftInputMode being set to adjustResize. Is there any way in which I could prevent the popping up while still keeping adjustResize? Has anyone stumbled over the problem yet?
Thanks for your help
Komal :
Add below lines to your parent layout in .xml
file.
android:descendantFocusability="beforeDescendants"
android:focusableInTouchMode="true"
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=299873&siteId=1