【发布时间】:2015-10-29 21:21:22
【问题描述】:
我已经尝试了很长时间,但没有为以下布局问题找到令人信服的解决方案。例如。如果我使用 RelativeLayout 作为容器,我可以使用(子)布局 A
android:layout_alignParentTop="true"
对于(子)布局C
android:layout_alignParentBottom="true">
但是似乎不可能将布局 B 放置为两个空间具有相同高度的方式。有人在 .xml 中看到解决方案吗?
【问题讨论】:
-
给 a & b layout id's and use (android:layout_below="@+id/the_id") for b & c。看看有没有帮助
标签: android android-layout space