Android-界面-布局

1.RelativeLayout 相对布局

常用设置:android:layout_width="match_parent" android:layout_height="match_parent"

控件相对位置

在某个控件左边:android:layout_toLeftOf="@id/camera_btn_focus"

在容器右下角:

android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"

2.FrameLayou 帧布局 控件可以叠加显示 典型应用拍照界面

posted @ 2016-11-03 16:35  cunzai201206  阅读(96)  评论(0编辑  收藏  举报