Android xml 文件的属性

1、layout_width="  "    eg. fill_parent save as match_parent  another properity is wrap_content

    layout_height="  "   same

2、orientation=""  eg. horizontal      vertical 

3、layout_gravity=""   居中

4、layout_weight=""  在图像中的权重,跟占有的空间有关系。

posted @ 2012-07-20 14:51  Epirus  阅读(113)  评论(0编辑  收藏  举报