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
siblings.

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
appreciated.

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
mundane.

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

Nigel




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. working with /cache/recovery/command

Hello,

I'm trying to create my own OTA update utility for Android and was
wondering if anyone knew anything about working with /cache/recovery/
command. I read through some of the source code for the recovery
system and it seems as if I add "--update_package=location:file" to
this file and reboot the phone into recovery mode, it should
automatically unpack and apply the update to the phone without user
intervention. When I try doing this myself, the phone will reboot into
recovery mode but it just sits at command prompt waiting for the user
to hit Alt+S,Alt+W etc. Does anyone know how get this to work like the
way Google pushes out OTA updates?

Thanks,
--~--~---------~--~----~------------~-------~--~----~

2. The source code of an Ap:"Picture"

Hi all:

I am interested in  the Ap named "picture" on the android emulator.
But I can not find the source code in http://android.git.kernel.org/ .
Does Android release this Ap's source and where can I get this souce
code?  Or where can I get the source relate "show still image" Ap?
Thank you!!

birdy
--~--~---------~--~----~------------~-------~--~----~

3. Three kinds of process

4. How to create Android's Activity from some provider?

5. Regarding

6. why people claim the function onCreate public?

7. why people claim the function onCreate public?