The entire UI framework is designed to not have focus and/or selection in touch mode. By trying to make a ListView behave differently, you are alienating your app from the feel of the entire system, which is arguably a bad user experience. The user knows that when he touches the screen the selection/focus disappear; it works everywhere, everytime. Besides, the framework tries to enforce this as much as it can, and if you found a workaround it would just be this, a workaround, highly likely to break with a future update as bugs get fixed.
On Tue, Oct 14, 2008 at 11:16 AM, Mark Hansen <[EMAIL PROTECTED]> wrote: > > I think I'm still fighting the same problem many people are in that I > want the ListView to maintain the selection in TouchMode. > > I've read many of the arguments of why it was done this way, but I've > also seen many developers want it implemented in a way that allows the > selection to be shown. > > I for instance have an application where a list view updates another > portion of the screen, it's done this way for various reasons, and it > would be massively helpful to have the selection remain visible. I > don't wish to have a checkbox on that line to show which one was > touched, and can't seem to find any other to get this implemented. > > Even if Googles intention initially was to have ListViews act as > "selections" moving to other screen, I'm sure I won't be the last who > want to use it for selections on the same intent. > > > On Oct 14, 11:20 am, "Romain Guy" <[EMAIL PROTECTED]> wrote: >> Only via pressing the screen/keyboard. Do *not* interfere with this >> mechanism. >> >> On Tue, Oct 14, 2008 at 7:28 AM, Mark Hansen <[EMAIL PROTECTED]> wrote: >> >> > Is there a way in code to switch an application from Touch Mode to >> > Keyboard mode, or is this handled only via pressed on the screen or >> > keyboard? >> >> -- >> Romain Guywww.curious-creature.org > > > -- Romain Guy www.curious-creature.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

