Try to set
android:windowSoftInputMode="adjustPan"
for your activity in the AndroidManifest.xml
That solved the problem for me
Am Donnerstag, 29. April 2010 05:12:23 UTC+2 schrieb krekar:
>
> Hi, all :D
>
> I make ListView that has some items that has one EditText and one
> ImageButton.
>
> When touch the EditText in ListView's Item, Keyboard was appeared but
> EditText lose focus.
>
> what can i do for resolve this problem?
>
> ps: I can use ScrollView instead of ListView by addView in ScrollView.
>
> And in ScrollView, when i touch the EditText, keyboard was
> appeared and EditText keep the focus.
>
> but I must optimize the list because the list may has many items.
>
> in ListView, I can optimize list in getView. But in ScrollVIew,
> there was not way to optimaize list.
>
> so, I must use ListView.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to
> [email protected]<javascript:>
> To unsubscribe from this group, send email to
> [email protected] <javascript:>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en