http://www.cnmsdn.com/html/201009/1283762175ID7852.html

在相对布局中:

A Layout where the positions of the children can be described in relation to each other or to the parent.

一个布局能够被描绘通过其它子布局,或者是通过其父布局

Note that you cannot have a circular dependency between the size of the RelativeLayout and the position of its children. For example, you cannot have a RelativeLayout whose height is set to WRAP_CONTENT and a child set to ALIGN_PARENT_BOTTOM.

注意:在相对布局的大小和子布局的位置方面你不能间接的依赖。例如:若是一个布局的宽被设置成自适应而子布局被设置为:ALIGN_PARENT_BOTTOM,您将不能使用相对布局。

更多相关文章

  1. android,利用layoutParams代码动态布局空间位置
  2. Android(安卓)UI之五种基本布局详解
  3. android中经常用到的 ExpandableListView 的简单使用
  4. HTTP下载文件时getContentLength()返回-1
  5. Android解决CoordinatorLayout折叠布局RecyclerView最后一条数据
  6. 强烈推荐:Android完全自学从零开始
  7. 使用DrawerLayout实现侧滑栏
  8. 让我们创建屏幕- Android(安卓)UI布局和控件
  9. android界面设计(一)侧边栏的两种实现方式

随机推荐

  1. android控件隐藏与显示
  2. AndroidStudio安装及配置Gradle遇到的Err
  3. android xutils
  4. android ctl属性的实现过程
  5. Android 应用程序构成
  6. android在处理一写图片资源的时候,会进行
  7. android sim卡 TelephonyManager类:Androi
  8. 【自学Android】使用ModelView,DataBindi
  9. Android动画学习笔记-Android Animation
  10. android 开启Https单向认证