如何在屏幕底部设置横幅?
我尝试了RelativeLayout,它保持在底部,但在屏幕外.
那是我的简单代码:
android:id="@+id/layout_home"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/background"
android:orientation="vertical">
android:id="@+id/layout_body"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/background2"
android:orientation="vertical">
......
android:id="@+id/layout_banner"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
....
更新
我已经设置了android:layout_alignParentBottom =“ true”但没有更改