2016年1月6日 星期三

View Groups(Layout),height,weight,gravity,Padding and Margin

View Groups
Frame layout:view in frame layout go to left up connear,one can cover another on,so always put on view inside


Linear layout:has layput weight


view Group also is a view,so,alyout is a view too


the tree:


  ↳
  ↳
  ↳
android.widget.LinearLayout

Height and Weight:




Gravity














Padding and Margin


Visibility