在我的代码中,image1显示在左侧,但图像test_button_image2不在屏幕右侧移动我该怎么办?这是我的截图如何移动图像并将其与屏幕右侧对齐
i湾tomake likie这
请帮助我如何移动图像2的布局吗?
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#ffffff"
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/imagelogo2"
android:orientation="horizontal" >
<ImageView
android:id="@+id/test_button_image"
android:layout_width="wrap_content"
android:paddingLeft="5dp"
android:layout_height="wrap_content"
android:paddingTop="15dp"
android:src="@drawable/back" >
</ImageView>
<ImageView
android:id="@+id/test_button_image2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="5dp"
android:paddingTop="15dp"
android:src="@drawable/back" />
</LinearLayout>
<LinearLayout
android:id="@+id/lytContent"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/txtCopyright"
android:layout_marginTop="10dp"
android:background="@drawable/border2"
android:layout_below="@+id/lytTitlebar"
android:orientation="vertical" >
<ListView
android:id="@+id/listMainMenu"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:listSelector="@drawable/listview_selector"
android:dividerHeight="1dip"
android:fadeScrollbars="true" />
</LinearLayout>
</LinearLayout>
可能重复[如何在两个ImageViews之间消除空间?(http://stackoverflow.com/questions/18330788/如何去除的空间功能于两imageviews间) – Renjith