[android-developers] Re: EditText box doesn't work the same way in PopupWindow as in AlertDialog
I've noticed this behavior in the built-in Android apps as well, sometimes you cannot long tap on fields.I think it's probably a bug. On Aug 27, 4:50 am, Frank frank.android@gmail.com wrote: Hi Dan, Actually, the PopupWindow was made focusable. I can tap on EditText and use the keyboard to input text. But just the long press/double tap won't select any text. Frank On Aug 26, 12:19 pm, IcedNet d...@icednet.info wrote: http://developer.android.com/reference/android/widget/PopupWindow.html Depending on how it is instantiated, it may be non-focusable by default... Peace, Dan On Aug 26, 1:09 pm, Frank frank.android@gmail.com wrote: Dear All, I am having some difficulty getting an EditText widget work properly in a PopupWindow class. When it is used in a PopupWindow and double clicked/long pressed, nothing happens. However, when it is put in an AlertDialog, double click selects the text in it and brings up a built-in text tool bar at the top. Does anyone know the cause of this? Thank you very much. Regards, Frank- Hide quoted text - - Show quoted text - -- 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 box doesn't work the same way in PopupWindow as in AlertDialog
http://developer.android.com/reference/android/widget/PopupWindow.html Depending on how it is instantiated, it may be non-focusable by default... Peace, Dan On Aug 26, 1:09 pm, Frank frank.android@gmail.com wrote: Dear All, I am having some difficulty getting an EditText widget work properly in a PopupWindow class. When it is used in a PopupWindow and double clicked/long pressed, nothing happens. However, when it is put in an AlertDialog, double click selects the text in it and brings up a built-in text tool bar at the top. Does anyone know the cause of this? Thank you very much. Regards, Frank -- 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 box doesn't work the same way in PopupWindow as in AlertDialog
Hi Dan, Actually, the PopupWindow was made focusable. I can tap on EditText and use the keyboard to input text. But just the long press/double tap won't select any text. Frank On Aug 26, 12:19 pm, IcedNet d...@icednet.info wrote: http://developer.android.com/reference/android/widget/PopupWindow.html Depending on how it is instantiated, it may be non-focusable by default... Peace, Dan On Aug 26, 1:09 pm, Frank frank.android@gmail.com wrote: Dear All, I am having some difficulty getting an EditText widget work properly in a PopupWindow class. When it is used in a PopupWindow and double clicked/long pressed, nothing happens. However, when it is put in an AlertDialog, double click selects the text in it and brings up a built-in text tool bar at the top. Does anyone know the cause of this? Thank you very much. Regards, Frank -- 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