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

相关文章:

  • 2021-11-17
  • 2021-09-16
  • 2021-07-02
  • 2021-11-17
  • 2021-09-20
  • 2021-06-28
  • 2022-12-23
猜你喜欢
  • 2021-09-19
  • 2022-12-23
  • 2022-02-17
  • 2022-12-23
  • 2021-07-11
  • 2021-11-17
相关资源
相似解决方案