if u mean to place an image button on top of a layout , that could help
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/background"
>
<ImageButton android:id="@+id/btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/btn_background"
/>
</LinearLayout >
or in the code u can create ImageButton and put in in the layout by addView
On Thu, Oct 1, 2009 at 1:36 PM, Mark Murphy <[email protected]> wrote:
>
> > Let me be very precise here. I have a picture in the background.
>
> That is not "very precise". The picture is "in the background of"...what?
>
> > Can i
> > place ImageButtons on this picture and receive click event of the
> > ImageButtons?
>
> Presumably.
>
> Please try it, and if it does not work, post some layout XML that can more
> clearly explain what it is you are trying and that does not work.
>
> --
> 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
-~----------~----~----~----~------~----~------~--~---