| java.lang.Object | |||
| ↳ | android.view.ViewGroup.LayoutParams | ||
| ↳ | android.view.ViewGroup.MarginLayoutParams | ||
| ↳ | android.support.design.widget.CoordinatorLayout.LayoutParams | ||
Parameters describing the desired layout for a child of a CoordinatorLayout.
| [Expand] Inherited XML Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
android.view.ViewGroup.MarginLayoutParams | |||||||||||
|  From class
android.view.ViewGroup.LayoutParams | |||||||||||
| [Expand] Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
android.view.ViewGroup.LayoutParams | |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| anchorGravity | A Gravityvalue describing which edge of a child view'sanchorview the child should position itself relative to. | ||||||||||
| gravity | A Gravityvalue describing how this child view should lay out. | ||||||||||
| keyline | The index of the horizontal keyline specified to the parent CoordinatorLayout that this child should align relative to. | ||||||||||
| [Expand] Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
android.view.ViewGroup.MarginLayoutParams | |||||||||||
|  From class
android.view.ViewGroup.LayoutParams | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
          Get the id of this view's anchor.
          
    
         | |||||||||||
| 
          Get the behavior governing the layout and interaction of the child view within
 a parent CoordinatorLayout.
          
    
         | |||||||||||
| 
          Get the id of this view's anchor.
          
    
         | |||||||||||
| 
          Set the behavior governing the layout and interaction of the child view within
 a parent CoordinatorLayout.
          
    
         | |||||||||||
| [Expand] Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class
  android.view.ViewGroup.MarginLayoutParams | |||||||||||
|  From class
  android.view.ViewGroup.LayoutParams | |||||||||||
|  From class
  java.lang.Object | |||||||||||
The index of the horizontal keyline specified to the parent CoordinatorLayout that this
 child should align relative to. If an anchor is present the
 keyline will be ignored.
Get the behavior governing the layout and interaction of the child view within a parent CoordinatorLayout.
Get the id of this view's anchor.
The view with this id must be a descendant of the CoordinatorLayout containing the child view this LayoutParams belongs to. It may not be the child view with this LayoutParams or a descendant of it.
Set the behavior governing the layout and interaction of the child view within a parent CoordinatorLayout.
Setting a new behavior will remove any currently associated
 Behavior tag.
| behavior | The behavior to set or null for no special behavior | 
|---|