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
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
|
int BOX_ALL
Constant Value: 15 (0x0000000f)
int BOX_BOTTOM
Constant Value: 8 (0x00000008)
int BOX_LEFT
Constant Value: 1 (0x00000001)
int BOX_NONE
Constant Value: 0 (0x00000000)
int BOX_RIGHT
Constant Value: 4 (0x00000004)
int BOX_TOP
Constant Value: 2 (0x00000002)
int boxedEdges
BoxInsetLayout.LayoutParams (Context context, AttributeSet attrs)
Parameters | |
---|---|
context |
Context
|
attrs |
AttributeSet
|
BoxInsetLayout.LayoutParams (int width, int height)
Parameters | |
---|---|
width |
int
|
height |
int
|
BoxInsetLayout.LayoutParams (int width, int height, int gravity)
Parameters | |
---|---|
width |
int
|
height |
int
|
gravity |
int
|
BoxInsetLayout.LayoutParams (int width, int height, int gravity, int boxed)
Parameters | |
---|---|
width |
int
|
height |
int
|
gravity |
int
|
boxed |
int
|
BoxInsetLayout.LayoutParams (ViewGroup.LayoutParams source)
Parameters | |
---|---|
source |
ViewGroup.LayoutParams
|
BoxInsetLayout.LayoutParams (ViewGroup.MarginLayoutParams source)
Parameters | |
---|---|
source |
ViewGroup.MarginLayoutParams
|
BoxInsetLayout.LayoutParams (FrameLayout.LayoutParams source)
Parameters | |
---|---|
source |
FrameLayout.LayoutParams
|
BoxInsetLayout.LayoutParams (BoxInsetLayout.LayoutParams source)
Parameters | |
---|---|
source |
BoxInsetLayout.LayoutParams
|