Re: [android-developers] EditText lose focus when appears keyboard in ListView

2013-05-01 Thread Bazlur Rahman
I found this solution doesn't work on Samsung s2 and S3 phone.


Sincerely
A. N. M. Bazlur Rahman
Software Engineer
Therap Services, LLC




On Sun, Sep 23, 2012 at 3:17 AM, biosstar bios...@googlemail.com wrote:

 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 android-d...@**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=enhttp://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 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

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] EditText lose focus when appears keyboard in ListView

2012-09-23 Thread biosstar
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 
 android-d...@googlegroups.comjavascript: 
 To unsubscribe from this group, send email to 
 android-developers+unsubscr...@googlegroups.com 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 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] EditText lose focus when appears keyboard in ListView

2010-04-28 Thread 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 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