That isn't a good UI practice on Android; items should not be focusable, nor appear to have focus, on touch. You may want to use list items with radio boxes instead. There may be other, prettier solutions as well — I'd be happy to brainstorm if you discussed your use case.
That isn't a good UI practice on Android; items should not be focusable, nor appear to have focus, on touch. You may want to use list items with radio boxes instead. There may be other, prettier solutions as well — I'd be happy to brainstorm if you discussed your use case.
Update: Given the new context in your comment (forward/reply/etc. Contextual actions on messages), here are some other options: Use standard context menus, triggered by long-pressing on list items. Use the new Quick Actions 1 pattern as seen in the Twitter for Android app.In either case, you can use an on-screen affordance for bringing up contextual actions, similar to the circular 'more' button inside each tweet in the Twitter app. If you'd like more discoverability.
Now, if you plan to support multi-item contextual actions, another option is to use the checkbox + slide-up action-panel UI pattern that Gmail uses.1 Quick Actions UI pattern, as discussed in the Android UI design patterns session at Google I/O 2010 (see slide 16 in the session slide deck). Note that although the Quick Actions code isn't in the Android SDK at the moment, Twitter for Android will be open-sourced so the code could be used in your apps.
I'm working on a SMS Application, i've made a couple of listactivities that display Messages from Inbox,Outbox,Drafts,etc... For each activity, there's a context menu that has "Forward/Reply/Delete" buttons on it...I want the menu to popup when the user clicks on a message (listitem)...and i'd like some sort of indicator so the user knows which listitem is currently selected... – st0le Jun 19 '10 at 7:08.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.