I am working on an Android Launcher application. I can host AppWidgets
and display them on my View. I can't figure out how to set focus to
the buttons within the widget (for example, the individual controls of
the Power Control widget), as happens with the default launcher. I am
assigning focus to the AppWidgetHostView using requestFocus(true).

When using a LinearLayout to host the AppWidgets, it appears that the
entire widget gets the focus. The widget buttons respond to onClick
presses.

When using a Gallery to host the AppWidgets (what i really want), I
can't set focus to the at all widget, or get it to respond to
onClick.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to