[android-developers] Re: EditText inside ListView
In case anyone wants to quickly replicate this to check it, I have an example project at: http://andysavage.homeip.net:2886/EditTextListViewDemonstration.zip To replicate simply run the app, and try to type text into any of the edit boxes. Using the emulator, when I first touch an EditText the software keyboard popus up and focus is lost. I can then re-touch the edit text, but as I try and type the software keyboard's predictive text will be shown and the edit text will again lost focus, and recreate itself. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: EditText inside ListView
You need to change in your AndroidMenifest.xml Add *android:windowSoftInputMode=adjustPan* in the activity holding the listview. This will solve your problem. activity android:name=.EditTextListViewDemonstration android:label=@string/app_name *android:windowSoftInputMode=adjustPan* Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: EditText inside ListView
This seems to solve the problem. Many many thanks. On Dec 19, 5:34 pm, Sarwar Erfan erfanonl...@gmail.com wrote: You need to change in your AndroidMenifest.xml Add *android:windowSoftInputMode=adjustPan* in the activity holding the listview. This will solve your problem. activity android:name=.EditTextListViewDemonstration android:label=@string/app_name *android:windowSoftInputMode=adjustPan* Regards Sarwar Erfan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en