Please explain View.addFocusables

by Nigel » Thu, 03 Sep 2009 18:36:18 GMT

Sponsored Links
 I'm creating a custom component.  The child components are not acting
as expected in regard to my custom components re-acting with its

On investigations to solve this I came across View.addFocusables and
View.addTouchables.  These may help me, but I'm not really sure how
they're intended to be used.  Can anyone provide a better description,
or example, of how these are intended to be used?  A dig around on
Google revealed nothing :-(...

Any explanation - or links to pages I couldn't find - much

Cheers - Nigel

Please explain View.addFocusables

by Nigel » Fri, 04 Sep 2009 16:48:29 GMT

 addFocusables was on the wrong track.  The solution was much more

My custom component was derived from View.  It needed to be derived
from one of the ViewGroup classes - in my case FrameLayout.



Sponsored Links

Other Threads

1. Gestures in app Widget

Hi All:


I'm newbie to Android and developed a widget for my application. I
want to use gesture to open up some of my application features inside
the widget. As far I know implementation of gesture inside my
application is possible and my question is will it be possible to
implement predefined (using gesture builder given along SDK) gestures
inside our widgets? Kindly throw some light on this and any help would
be greatly appreciated.

Rajesh G.


2. Usb Tethering in Android Eclair 2.1

Hi All,

In android eclair 2.1 is dialup networking through usb possible?
Is there any Support for usb tethering present in kernel layer.

I am trying to make my own app, if needed ready to do some kernel
related code chage also.

I have seen in \kernel\drivers\usb\gadget\f_derial.c file some modem
related code has present  uder CONFIG_MODEM_SUPPORT flag.

Please suggest.
Thanks in advance for your reply.


3. SMS inbox Read Problem

4. How to move Activity to foreground

5. Content Length -1 in HTTP Response / Parial Read

6. Accessing the /data folder

7. android development and multiple carriers