<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ll"
android:orientation="vertical"
android:background="#ff000000"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="bottom">
<Button android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="test"/></LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ll"
android:orientation="vertical"
android:background="#ff000000"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="bottom">
<Button android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="test"/></LinearLayout>
图片覆盖是什么意思啊?你设置background背景它覆盖不了的啊
设置 Button属性 android:layout_gravity="bottom" 应该可以!
<LinearLayout background="@drawble/xxx"></LinearLayout>
然后你的button可以通过android:layout_gravity="bottom"来实现呀
谢谢各位大侠
解决了
用的ButtonBar样式就可以了