I have created a runtime views as shown in Attachment, when user clicks on any Edittext then keyboard appears, after typing something I am making some operations in aftertextchanged callback. When I dismiss the Keyboard, there is a shifting of layout downwards as shown in attachment.I don't understand why the system is not able to render the UI immediately once the keyboard dismissal.Is that anything related to the AfterTextChanged() implementation. Even tried by running the code in separate thread whatever i am executing in aftertextchanged but no use. Please help me if anybody is having any idea.
check the windowSoftInputMode
this might help you decide wich mode meets your needs
try this one in your activity tag in the manifest
<activty windowSoftInputMode ="adjustUnspecified"/>
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.