How do you place an item behind another item in android? -
i'd place imageview
behind imagebutton
. what's best way go doing this?
i believe easiest way wrap both imageview
, imagebutton
in framelayout
. eg:
<framelayout android:layout_width="match_parent" android:layout_height="wrap_content" > <imageview android:layout_width="match_parent" android:layout_height="match_parent" android:src="@drawable/your_image" /> <imagebutton android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center" /> </framelayout>
android
No comments:
Post a Comment