Drawables don't do anything but draw. That don't receive input events, so they have no concept of being clickable.
Views can be clickable, and you can associate a drawable with a view to provide what the view draws. So the simplest thing is to make a View, use View.setBackground() to give a drawable it will draw as its background, and get the click events from the view however you want. On Sun, Sep 19, 2010 at 9:54 AM, dadada <[email protected]> wrote: > hi all, > > i am using drawable and translateobject to create animation on camera > overlay. > > > how do i get clickable drawable object? > > should i be using drawable? > > thanks! > > bryan > > -- > 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 > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

