布局管理器

 

线性布局----LinearLayout

 

框架布局----FrameLayout

 

表格布局----TableLayout

 

                                    TableRow----表格行控制

 

相对布局----RelativeLayout

                                    android:layout_beloe                  ————摆放在指定组件的下边                    

                                    android:layout_toLeftOf               ————摆放在指定组件的左边                                       

                                    android:layout_toRightOf              ————摆放在指定组件的右边

                                    android:layout_alignTop               ————以指定组件为参考进行上对齐                   

                                    android:layout_alignBottom            ————以指定组件为参考进行下对齐                                    

                                    android:layout_alignLeft              ————以指定组件为参考进行左对齐

                                    android:layout_alignRight             ————以指定组件为参考进行右对齐  

绝对布局----AbsoluteLayout

                                      android:layout_x:组件在x轴上的坐标

                                      android:layout_y:组件在y轴上的坐标

posted on 2017-05-15 16:12  今···豪  阅读(82)  评论(0编辑  收藏  举报