You can first get the parent of the ImageView and then get whichever child
you want. But, I am not sure if you can get it directly.

On Sun, Nov 7, 2010 at 11:15 AM, Julius Spencer <[email protected]> wrote:

> Hi,
>
> I have a layout that includes an ImageView and a CheckBox and I am
> implementing onClick for the ImageView.  I would like to alter the state of
> the CheckBox when the ImageView is 'clicked'. The state I am storing fine,
> but I would like the CheckBox to change. Is there a way I can get access to
> the ImageView's siblings (in this case there would be one; the CheckBox)?
>
> Regards,
> Julius.
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com

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

Reply via email to