[android-developers] Re: Touch Listener

2009-09-01 Thread vanquisher sinner
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 Guyromain...@google.com wrote: Focusable in touch mode has nothing to do

[android-developers] Re: Touch Listener

2009-09-01 Thread Dianne Hackborn
Only one view can have focus at a time. You'll need to pick one thing to get key events and handle them there, if you don't want to allow the user to move focus around themselves. On Tue, Sep 1, 2009 at 10:45 AM, vanquisher sinner vanquisher.sin...@gmail.com wrote: I am calling

[android-developers] Re: Touch Listener

2009-08-30 Thread vanquisher sinner
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

[android-developers] Re: Touch Listener

2009-08-30 Thread Romain Guy
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 sinnervanquisher.sin...@gmail.com wrote: I read that if you set isFocuasbaleInTouchMode  for the view object then onClickelistener is

[android-developers] Re: Touch Listener

2009-08-28 Thread Balwinder Kaur (T-Mobile USA)
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