Anyone willing to explain how bubbling of focus states works? Basically, how to get a child View to be focused when its parent is focused.
Thanks, Nick On Apr 19, 1:31 am, patbenatar <[email protected]> wrote: > Hey all- > > When using a View within a View, for example an ImageView within a > LinearLayout, both of which have xml drawable resources (the > LinearLayout as a background) specifying PNG drawables to use for the > on/off states, shouldn't children Views receive the focus state when > their parent gets focus? So as far as I understand, both my > LinearLayout and ImageView should be switching to their focus > states...right? Apparently not... Or, more likely, apparently my > implementation is incorrect.. > > The focus state works on the LinearLayout but my ImageView never > receives focus.. I have both Views set to android:focusable="true". > > Thanks, > Nick > > -- > 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 > athttp://groups.google.com/group/android-developers?hl=en -- 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

