使用三个线性布局进行嵌套LinearLayoutCompat1(LinearLayoutCompat2,LinearLayoutCompat3),1使用垂直vertical排布,23使用horizontal水平排布。
2在前面,格外要注意其layout_width和layout_height属性,不能是match_parent,如果是match_parent的话,LinearLayoutCompat3里的组件就看不到了,应改为wrap_content。
错误示例:
。
------------------------------更正后:-----------------------------------------------------------