0
我正在解决我的应用程序中的relativeLayout问题。 我拍摄一张图片和一个按钮。我想让按钮是图像的底部,但没有设置。未在相对布局设置重力
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ImageButton android:src="@drawable/layout_logo"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/image" />
<Button android:id="@+id/button3"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:drawableBottom="@id/image"
android:gravity="bottom" />
</RelativeLayout>