我有我的布局 xml 文件:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/relativeLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/screen_background">
<LinearLayout
android:id="@+id/linearLayout1"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:orientation="vertical"
android:layout_alignBottom="@+id/linearLayout01"
android:layout_marginBottom="55dp">
<ImageView
android:id="@+id/imageView1"
android:layout_width="fill_parent"
android:layout_height="50dp"
android:src="@drawable/tone_movies_banner"
android:layout_alignParentTop="true"
android:scaleType="fitXY"/>
<GridView
android:id="@+id/grid_view"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:numColumns="auto_fit"
android:columnWidth="90dp"
android:horizontalSpacing="10dp"
android:verticalSpacing="10dp"
android:gravity="center"
android:stretchMode="columnWidth" >
</GridView>
<LinearLayout
android:id="@+id/linearLayout01"
android:layout_width="fill_parent"
android:layout_height="50dp"
android:layout_alignParentBottom="true"
android:layout_marginBottom="5dp">
</LinearLayout>
</LinearLayout>
</RelativeLayout>
我想在上面的布局 xml 文件中添加一个后退图像按钮?我在哪里可以添加此语句
<ImageButton
android:id="@+id/back_btn"
android:layout_width="30dp"
android:layout_height="190dp"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="20dp"
android:background="@drawable/button_movielist_back"
/>
有人可以帮忙吗?