RelativeLayout 设置wrap_content无效

 Des: RelativeLayout 设置了高度为wrap_content,实际运行结果为match_parent效果。

Cause: 子节点设置了 `android:layout_alignParentBottom="true"` 导致父子节点高度循环依赖

Resolve: 去掉循环依赖的属性或换用其他layout。

你可能感兴趣的:(RelativeLayout 设置wrap_content无效)