android:layout_below="@id/show"
當前 View 的**頂部**對齊 **id 為 show 的 View 底部**,即「顯示在 show 下方」。
layout_below → android:layout_below。@+id/show 先宣告 (但不推薦)。layout_above (對齊底部到目標頂部) 與 layout_below。<TextView
android:id="@+id/show"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="標題" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/show"
android:text="按鈕" />
Button 將顯示在 TextView 正下方。