android中layout区别

从 Hello Android 2nd Edition中大概理解的:

 

• FrameLayout:children按照从左上开始的顺序排列,主要用于tabed view或者图片切换功能

 

• LinearLayout:children排列成一行多列或者一列多行的形式,这种layout最常见

 


• RelativeLayout:children是相互之间相关位置或者和他们的parent位置相关,常用在form中

 

• TableLayout:children按照行列的排序,类似于html的table

 

你可能感兴趣的:(html,android)