为什么我看不到最后一个LinearLayout?LinearLayout不会出现
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:background="@drawable/bg" android:layout_height="wrap_content"
android:orientation="vertical" android:padding="2dp"
android:theme="@android:style/Theme.NoTitleBar">
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" .../>
<ScrollView android:layout_width="wrap_content" android:layout_height="wrap_content">
<TableLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
// TableRows created dynamically
</TableLayout>
</ScrollView>
<LinearLayout android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_gravity="bottom">
<Button android:layout_height="wrap_content"
android:layout_width="wrap_content" android:text="Button" android:id="@+id/button1"></Button>
</LinearLayout>
</LinearLayout>`
编辑:机器人:layout_gravity =“底”
为什么DONOT你去的RelativeLayout与alignparentBottom =真 –