当您指定相对于另一个布局的对齐方式时,会发生这种情况。我找到的解决方案是走向另一个方向。
而不是告诉ImageView高于LinearLayout,告诉LinearLayout在ImageView以下。
android:layout_width="fill_parent"
android:layout_height="wrap_content">
android:id="@+id/rev_main"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/rev_arrow">
android:id="@+id/rev_arrow"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/arrow"
/>