布局相关

1. RelativeLayout

如果高度设置为wrap_content,那么最后一个view margin_bottom 会失效(并不是必现,在17(4.2.2)上oppo 有复现),解决方案:修改RelativeLayout的高度为match_parent或者使用padding_bottom

2. ImageView

imageview 放在relativeLayout 里是无法大于父布局的宽高的,原因不详,但是换成其他的容器布局就可以了

results matching ""

    No results matching ""