画android页面的时候经常画出来的结果不是自己想要的

现在对RalativeLayout的一些属性做下记录

第一类:属性值为true或false
*android:layout_centerHrizontal
*android:layout_centerVertical
*android:layout_centerInparent
*android:layout_alignParentBottom
*android:layout_alignParentLeft
*android:layout_alignParentRight
*android:layout_alignParentTop
*android:layout_alignWithParentIfMissing
第二类:属性值必须为id的引用名“@id/id-name”
*android:layout_below
*android:layout_above
*android:layout_toLeftOf
*android:layout_toRightOf
*android:layout_alignTop
第三类:属性值为具体的像素值,如30dip,40px
*android:layout_marginBottom
*android:layout_marginLeft
*android:layout_marginRight
*android:layout_marginTop

更多相关文章

  1. Android相对布局属性全集
  2. Android之EditText
  3. Layout属性介绍
  4. android:windowSoftInputMode属性详解
  5. Android_相对布局的相关属性RalativeLayout
  6. android 设置中添加首选项 通过Intent调第三方应用
  7. Android开发中 ListView 不能不说的几个属性
  8. Android(安卓)Layout的属性
  9. android 布局属性

随机推荐

  1. OOM原因和解决方案
  2. Android(安卓)实现对图片 Exif 的修改(And
  3. 【外刊IT评论网】有些软件很卖钱:在Androi
  4. android的帧布局,绝对布局,相对布局,表格布
  5. App模块化及工程扩展----- android
  6. Android热修复升级探索——SO库修复方案
  7. 实现在Android本地视频播放器开发
  8. Android(安卓)性能优化典范(六)
  9. ANDROID中LISTVIEW仿QQ群组向上滚动特效
  10. android中才Pull解析器生成xml文档