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


layout_box属性添加到布局参数

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
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams

Fields

public int boxedEdges

Inherited fields

From class android.widget.FrameLayout.LayoutParams
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams

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
From class android.view.ViewGroup.LayoutParams
From class java.lang.Object

Constants

BOX_ALL

int BOX_ALL

常量值:15(0x0000000f)

BOX_BOTTOM

int BOX_BOTTOM

常量值:8(0x00000008)

BOX_LEFT

int BOX_LEFT

常数值:1(0x00000001)

BOX_NONE

int BOX_NONE

常量值:0(0x00000000)

BOX_RIGHT

int BOX_RIGHT

常量值:4(0x00000004)

BOX_TOP

int BOX_TOP

常量值: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