I am calling requestFocus() on both views. But only one of the views
works properly everytime.
Where should I place the requestFocus() so that either of the views
can be in focus?

On Sun, Aug 30, 2009 at 5:54 PM, Romain Guy<[email protected]> wrote:
>
> "Focusable in touch mode" has nothing to do with touch events or touch
> listeners or padding, etc. Do not use this.
>
> On Sun, Aug 30, 2009 at 4:03 PM, vanquisher
> sinner<[email protected]> wrote:
>>
>> I read that if you set isFocuasbaleInTouchMode  for the view object
>> then onClickelistener is called.
>> when I touch one view it works but the other one does not.
>> Is there a way to increase padding of that view so that touch works on
>> the view even around a larger radius?
>>
>>
>> On Fri, Aug 28, 2009 at 12:00 PM, Balwinder Kaur (T-Mobile
>> USA)<[email protected]> wrote:
>>>
>>> A sample of your code and logcat output if there are errors in it
>>> would be helpful.
>>>
>>> Balwinder Kaur
>>> Open Source Development Center
>>> ·T· · ·Mobile· stick together
>>>
>>> The views, opinions and statements in this email are those of the
>>> author solely in their individual capacity, and do not necessarily
>>> represent those of T-Mobile USA, Inc.
>>>
>>> On Aug 28, 11:39 am, human android <[email protected]>
>>> wrote:
>>>> I am trying to use touch listener on 2 View objects.
>>>> I made both objects focussable but it works for one object and does
>>>> not for the other.
>>>> Any idea how to solve this?
>>> >
>>>
>>
>> >
>>
>
>
>
> --
> Romain Guy
> Android framework engineer
> [email protected]
>
> 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 [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