嗨,我有 2 个项目进入线性布局,我需要将它们推到屏幕底部。现在他们也从屏幕开始。我该怎么做?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<ImageView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:layout_gravity="bottom"
android:gravity="bottom"
android:src="@drawable/splash" />
<include
android:layout_gravity="bottom"
android:id="@+id/footer_raw"
android:layout_width="fill_parent"
android:gravity="bottom"
android:layout_height="30dp"
layout="@layout/footer_raw" />
</LinearLayout>