zoukankan      html  css  js  c++  java
  • android之RelativeLayout

     
    Constants
    int ABOVE Rule that aligns a child's bottom edge with another child's top edge.
    将改控件的底部至于给定ID的控件之上
    int ALIGN_BASELINE Rule that aligns a child's baseline with another child's baseline.

    int ALIGN_BOTTOM Rule that aligns a child's bottom edge with another child's bottom edge.
    int ALIGN_LEFT Rule that aligns a child's left edge with another child's left edge.
    将改空间的左边缘和给定ID的控件的左边缘对齐
    int ALIGN_PARENT_BOTTOM Rule that aligns the child's bottom edge with its RelativeLayout parent's bottom edge.
    int ALIGN_PARENT_LEFT Rule that aligns the child's left edge with its RelativeLayout parent's left edge.
    int ALIGN_PARENT_RIGHT Rule that aligns the child's right edge with its RelativeLayout parent's right edge.
    int ALIGN_PARENT_TOP Rule that aligns the child's top edge with its RelativeLayout parent's top edge.
    int ALIGN_RIGHT Rule that aligns a child's right edge with another child's right edge.
    int ALIGN_TOP Rule that aligns a child's top edge with another child's top edge.
    int BELOW Rule that aligns a child's top edge with another child's bottom edge.
    将改控件的底部至于给定ID的控件之下
    int CENTER_HORIZONTAL Rule that centers the child horizontally with respect to the bounds of its RelativeLayout parent.
    int CENTER_IN_PARENT Rule that centers the child with respect to the bounds of its RelativeLayout parent.
    int CENTER_VERTICAL Rule that centers the child vertically with respect to the bounds of its RelativeLayout parent.
    int LEFT_OF Rule that aligns a child's right edge with another child's left edge.
    将改空间的右边缘和给定ID的控件的左边缘对齐
    int RIGHT_OF Rule that aligns a child's left edge with another child's right edge.
    将改空间的左边缘和给定ID的控件的右边缘对齐
    int TRUE
  • 相关阅读:
    窗内的星星
    亚特兰蒂斯
    你能回答这些问题吗
    区间最大公约数
    集训队8月14日(树状数组)
    一个简单的整数问题2
    谜一样的牛
    楼兰图腾
    Eternal Victory
    集训队8月12日(并查集)
  • 原文地址:https://www.cnblogs.com/tiankonguse/p/2636717.html
Copyright © 2011-2022 走看看