Taps should always cause focus and selection to disappear,.

On Wed, May 6, 2009 at 11:49 AM, Jeff Sharkey <jshar...@android.com> wrote:
>
>> When user selects a TextView it 'slips' (which is indicated by
>> background color change) and the user is expected to select(tap)
>> another view then. Not every tap should lead to the first view losing
>> 'focus'. That's the motivation behind setting background drawable
>> programmatically.
>
> Ouch, this is actually more of a touch mode question.  When the device
> goes into touch mode, there isn't a visible concept of focus in
> ListViews (when you scroll the list, any highlighted item reverts
> back).
>
> You might be looking for android:focusableInTouchMode, but this isn't
> used many places on the platform.
>
>
> --
> Jeff Sharkey
> jshar...@google.com
>
> >
>



-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to