Ext.: http://blog.sina.com.cn/s/blog_6cf2ea6a0102v61f.html
Development project encountered a problem, the layout height in some domestic cool small screen mobile phone height is not enough to show all, so use ScrollView nested linearlayout, but the problem arises again, in the big screen mobile phone such as Samsung Note3 mobile phone below will remain white, The solution to this problem is to nest multiple linearlayout within the first layer of linearlayout, and most importantly to set Android:fillviewport to true in ScrollView.
When the elements in the ScrollView want to fill ScrollView, using "fill_parent" is not useful and must be set to ScrollView: Android:fillviewport= "true".
When ScrollView does not fillveewport= "true", the elements inside (such as linearlayout) are calculated according to the wrap_content (whether or not it is set to "Fill_parent"), And if the elements of the LinearLayout set fill_parent, then it is no use, because the linearlayout depends on the elements inside, and the elements in the linearlayout, such contradictions. So the inside element is set to Fill_ The parent will also be counted as wrap_content.
ScrollView Properties Fillviewport solve the problem that Android layout can't fill full screen