GridView *is* focusableInTouchMode already. Using this property
requires a lot of subtle handling of focus and should not be applied
to any View. The Android UI framework is meant to not have focus and
selection in touch mode and you should not try to work around this, it
will only clash with what the framework tries to do.

On Mon, Oct 6, 2008 at 11:26 PM, tauntz <[EMAIL PROTECTED]> wrote:
>
> I haven't tried it myself but you could try android:focusableInTouchMode.
> From dox: "Boolean that controls whether a view can take focus while
> in touch mode. If this is true for a view, that view can gain focus
> when clicked on, and can keep focus if another view is clicked on that
> doesn't have this attribute set to true. "
>
> Tauno
>
> On Mon, Oct 6, 2008 at 11:25 PM, Romain Guy <[EMAIL PROTECTED]> wrote:
>>
>> > Related question: is there a way for an activity to request to switch
>> > out of touch mode? For demonstration purposes, I suspect my client would
>> > like a safety net in case they forget and click on the activity with the
>> > mouse in the emulator by mistake.
>>
>> There's no such switch that I know of. But why would your application
>> rely on this?
>>
>> --
>> Romain Guy
>> www.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
-~----------~----~----~----~------~----~------~--~---

Reply via email to