Summary: Constants | Inherited Constants | Fields | Inherited Fields | Ctors | Inherited Methods | [Expand All]

# BoxInsetLayout.LayoutParams

`public static class BoxInsetLayout.LayoutParams`
`` `` `` `extends FrameLayout.LayoutParams` ``

java.lang.Object
↳ | android.view.ViewGroup.LayoutParams
| ↳ | android.view.ViewGroup.MarginLayoutParams
|  | ↳ | android.widget.FrameLayout.LayoutParams
|  |  | ↳ | android.support.wearable.view.BoxInsetLayout.LayoutParams

adds `layout_box` attribute to layout parameters

## Summary

### Constants
`int` | `BOX_ALL`
`int` | `BOX_BOTTOM`
`int` | `BOX_LEFT`
`int` | `BOX_NONE`
`int` | `BOX_RIGHT`
`int` | `BOX_TOP`

### Inherited constants
From class `android.widget.FrameLayout.LayoutParams`
`int` | `UNSPECIFIED_GRAVITY`
From class `android.view.ViewGroup.MarginLayoutParams`
`int` | `DEFAULT_MARGIN_RELATIVE`
From class `android.view.ViewGroup.LayoutParams`
`int` | `FILL_PARENT`
`int` | `MATCH_PARENT`
`int` | `WRAP_CONTENT`

### Fields
`public int` | `boxedEdges`

### Inherited fields
From class `android.widget.FrameLayout.LayoutParams`
`public int` | `gravity`
From class `android.view.ViewGroup.MarginLayoutParams`
`public int` | `bottomMargin`
`public int` | `leftMargin`
`public int` | `rightMargin`
`public int` | `topMargin`
From class `android.view.ViewGroup.LayoutParams`
`public int` | `height`
`public LayoutAnimationController.AnimationParameters` | `layoutAnimationParameters`
`public int` | `width`

### Public constructors
`BoxInsetLayout.LayoutParams(Context context, AttributeSet attrs)`
`BoxInsetLayout.LayoutParams(int width, int height)`
`BoxInsetLayout.LayoutParams(int width, int height, int gravity)`
`BoxInsetLayout.LayoutParams(int width, int height, int gravity, int boxed)`
`BoxInsetLayout.LayoutParams(ViewGroup.LayoutParams source)`
`BoxInsetLayout.LayoutParams(ViewGroup.MarginLayoutParams source)`
`BoxInsetLayout.LayoutParams(FrameLayout.LayoutParams source)`
`BoxInsetLayout.LayoutParams(BoxInsetLayout.LayoutParams source)`

### Inherited methods
From class `android.view.ViewGroup.MarginLayoutParams`
`final void` | `copyMarginsFrom(ViewGroup.MarginLayoutParams arg0)`
`void` | `encodeProperties(ViewHierarchyEncoder arg0)`
`int` | `getLayoutDirection()`
`int` | `getMarginEnd()`
`int` | `getMarginStart()`
`boolean` | `isLayoutRtl()`
`boolean` | `isMarginRelative()`
`void` | `onDebugDraw(View arg0, Canvas arg1, Paint arg2)`
`void` | `resolveLayoutDirection(int arg0)`
`void` | `setLayoutDirection(int arg0)`
`void` | `setMarginEnd(int arg0)`
`void` | `setMarginStart(int arg0)`
`void` | `setMargins(int arg0, int arg1, int arg2, int arg3)`
`void` | `setMarginsRelative(int arg0, int arg1, int arg2, int arg3)`
From class `android.view.ViewGroup.LayoutParams`
`String` | `debug(String arg0)`
`void` | `encodeProperties(ViewHierarchyEncoder arg0)`
`void` | `onDebugDraw(View arg0, Canvas arg1, Paint arg2)`
`void` | `resolveLayoutDirection(int arg0)`
`void` | `setBaseAttributes(TypedArray arg0, int arg1, int arg2)`
`static String` | `sizeToString(int arg0)`
From class `java.lang.Object`
`Object` | `clone()`
`boolean` | `equals(Object arg0)`
`void` | `finalize()`
`final Class<?>` | `getClass()`
`int` | `hashCode()`
`final void` | `notify()`
`final void` | `notifyAll()`
`String` | `toString()`
`final void` | `wait(long arg0, int arg1)`
`final void` | `wait(long arg0)`
`final void` | `wait()`

## Constants

### BOX_ALL

    int BOX_ALL

Constant Value: 15 (0x0000000f)

### BOX_BOTTOM

    int BOX_BOTTOM

Constant Value: 8 (0x00000008)

### BOX_LEFT

    int BOX_LEFT

Constant Value: 1 (0x00000001)

### BOX_NONE

    int BOX_NONE

Constant Value: 0 (0x00000000)

### BOX_RIGHT

    int BOX_RIGHT

Constant Value: 4 (0x00000004)

### BOX_TOP

    int BOX_TOP

Constant Value: 2 (0x00000002)

## Fields

### boxedEdges

    int boxedEdges

## Public constructors

### BoxInsetLayout.LayoutParams

    BoxInsetLayout.LayoutParams (Context context,
                    AttributeSet attrs)

Parameters
`context` | `Context`
`attrs` | `AttributeSet`

### BoxInsetLayout.LayoutParams

    BoxInsetLayout.LayoutParams (int width,
                    int height)

Parameters
`width` | `int`
`height` | `int`

### BoxInsetLayout.LayoutParams

    BoxInsetLayout.LayoutParams (int width,
                    int height,
                    int gravity)

Parameters
`width` | `int`
`height` | `int`
`gravity` | `int`

### BoxInsetLayout.LayoutParams

    BoxInsetLayout.LayoutParams (int width,
                    int height,
                    int gravity,
                    int boxed)

Parameters
`width` | `int`
`height` | `int`
`gravity` | `int`
`boxed` | `int`

### BoxInsetLayout.LayoutParams

    BoxInsetLayout.LayoutParams (ViewGroup.LayoutParams source)

Parameters
`source` | `ViewGroup.LayoutParams`

### BoxInsetLayout.LayoutParams

    BoxInsetLayout.LayoutParams (ViewGroup.MarginLayoutParams source)

Parameters
`source` | `ViewGroup.MarginLayoutParams`

### BoxInsetLayout.LayoutParams

    BoxInsetLayout.LayoutParams (FrameLayout.LayoutParams source)

Parameters
`source` | `FrameLayout.LayoutParams`

### BoxInsetLayout.LayoutParams

    BoxInsetLayout.LayoutParams (BoxInsetLayout.LayoutParams source)

Parameters
`source` | `BoxInsetLayout.LayoutParams`

- ## Interfaces

  - ActionChooserView.ActionChooserListener
  - DelayedConfirmationView.DelayedConfirmationListener
  - GridPageOptions
  - GridPageOptions.BackgroundListener
  - GridViewPager.OnAdapterChangeListener
  - GridViewPager.OnPageChangeListener
  - WatchViewStub.OnLayoutInflatedListener
  - WearableListView.ClickListener
  - WearableListView.OnCenterProximityListener
  - WearableListView.OnCentralPositionChangedListener
  - WearableListView.OnScrollListener

- ## Classes

  - ActionChooserView
  - ActionLabel
  - ActionPage
  - BoxInsetLayout
  - BoxInsetLayout.LayoutParams
  - CardFragment
  - CardFrame
  - CardScrollView
  - CircledImageView
  - CircularButton
  - CrossfadeDrawable
  - DelayedConfirmationView
  - DismissOverlayView
  - DotsPageIndicator
  - FragmentGridPagerAdapter
  - GridPagerAdapter
  - GridViewPager
  - GridViewPager.LayoutParams
  - ProgressSpinner
  - SimpleAnimatorListener
  - WatchViewStub
  - WearableFrameLayout
  - WearableFrameLayout.LayoutParams
  - WearableListView
  - WearableListView.Adapter
  - WearableListView.ViewHolder