Let me be very precise here. I have a picture in the background.Can i place ImageButtons on this picture and receive click event of the ImageButtons? If not then how can i place a pictured object on a pictured background and be able to receive click event of that object? Thank you Maxood
On Sep 30, 4:56 pm, "Mark Murphy" <[email protected]> wrote: > > Is it possible to have ImageButtons to be placed on a graphic > > background? Wonder if they will receive events or not? Please reply > > with comments > > I do not know exactly what you mean by "placed on a graphic background". > > If you mean you want the ImageButton to *have* some different background > (e.g., android:background="..."), that is fine, and ImageButton will work > normally in terms of events, AFAIK. However, unless you provide a > StateListDrawable as the background, it will not *visually* appear to take > focus, click, or anything like that. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android App Developer Books:http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

