Home | History | Annotate | Download | only in widget

Lines Matching defs:RelativeLayout

51  * Note that you cannot have a circular dependency between the size of the RelativeLayout and the
52 * position of its children. For example, you cannot have a RelativeLayout whose height is set to
57 * <p><strong>Note:</strong> In platform version 17 and lower, RelativeLayout was affected by
61 * for more details.) This was triggered when a RelativeLayout container was placed in
64 * {@link android.view.View.MeasureSpec#UNSPECIFIED UNSPECIFIED} was placed in a RelativeLayout,
65 * this would silently work anyway as RelativeLayout would pass a very large
76 * Also see {@link android.widget.RelativeLayout.LayoutParams RelativeLayout.LayoutParams} for
84 public class RelativeLayout extends ViewGroup {
126 * Rule that aligns the child's left edge with its RelativeLayout
131 * Rule that aligns the child's top edge with its RelativeLayout
136 * Rule that aligns the child's right edge with its RelativeLayout
141 * Rule that aligns the child's bottom edge with its RelativeLayout
148 * RelativeLayout parent.
153 * bounds of its RelativeLayout parent.
158 * bounds of its RelativeLayout parent.
178 * Rule that aligns the child's start edge with its RelativeLayout
183 * Rule that aligns the child's end edge with its RelativeLayout
219 // with MeasureSpec value overflow and RelativeLayout was one source of them.
235 public RelativeLayout(Context context) {
239 public RelativeLayout(Context context, AttributeSet attrs) {
243 public RelativeLayout(Context context, AttributeSet attrs, int defStyleAttr) {
247 public RelativeLayout(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
256 attrs, R.styleable.RelativeLayout, defStyleAttr, defStyleRes);
307 * <p>Note that since RelativeLayout considers the positioning of each child
662 * @param myWidth Width of the the RelativeLayout
663 * @param myHeight Height of the RelativeLayout
692 // RelativeLayout measurement is code for, "we got an
693 // unspecified mode in the RelativeLayout's measure spec."
720 * This includes size constraints imposed by the RelativeLayout as well as
731 * @param mySize The width or height of this view (the RelativeLayout)
740 // Negative values in a mySize value in RelativeLayout
742 // RelativeLayout's measure spec."
885 RelativeLayout.LayoutParams anchorParams;
955 RelativeLayout.LayoutParams anchorParams;
1077 RelativeLayout.LayoutParams st =
1078 (RelativeLayout.LayoutParams) child.getLayoutParams();
1086 return new RelativeLayout.LayoutParams(getContext(), attrs);
1102 return p instanceof RelativeLayout.LayoutParams;
1136 return RelativeLayout.class.getName();
1169 * Per-child layout information associated with RelativeLayout.
1377 * Adds a layout rule to be interpreted by the RelativeLayout. This
1379 * (e.g., CENTER_IN_PARENT) or take a boolean value ({@link RelativeLayout#TRUE}
1384 * {@link android.widget.RelativeLayout RelativeLayout}, such as
1396 * Adds a layout rule to be interpreted by the RelativeLayout. Use this for
1401 * {@link android.widget.RelativeLayout RelativeLayout}, such as
1404 * or a boolean value (represented as {@link RelativeLayout#TRUE}
1417 * Removes a layout rule to be interpreted by the RelativeLayout.
1420 * {@link android.widget.RelativeLayout RelativeLayout}, such as
1435 * @param verb one of the verbs defined by {@link RelativeLayout}, such
1438 * (represented as {@link RelativeLayout#TRUE} for true
1725 + " in RelativeLayout");