public interface InsetView
Modifier and Type | Field and Description |
---|---|
static int |
INSET_NULL
Inset-not-set constant
|
Modifier and Type | Method and Description |
---|---|
int |
getInsetBottom() |
int |
getInsetColor() |
int |
getInsetLeft() |
int |
getInsetRight() |
int |
getInsetTop() |
void |
setInset(int left,
int top,
int right,
int bottom)
Sets insets
|
void |
setInsetBottom(int insetBottom) |
void |
setInsetColor(int color)
Sets inset color.
|
void |
setInsetLeft(int insetLeft) |
void |
setInsetRight(int insetRight) |
void |
setInsetTop(int insetTop) |
void |
setOnInsetsChangedListener(OnInsetsChangedListener onInsetsChangedListener) |
static final int INSET_NULL
void setInset(int left, int top, int right, int bottom)
left
- has to be greater than or equal to 0 or carbon.widget.InsetView.INSET_NULL
top
- has to be greater than or equal to 0 or carbon.widget.InsetView.INSET_NULL
right
- has to be greater than or equal to 0 or carbon.widget.InsetView.INSET_NULL
bottom
- has to be greater than or equal to 0 or carbon.widget.InsetView.INSET_NULL
int getInsetLeft()
void setInsetLeft(int insetLeft)
int getInsetTop()
void setInsetTop(int insetTop)
int getInsetRight()
void setInsetRight(int insetRight)
int getInsetBottom()
void setInsetBottom(int insetBottom)
void setInsetColor(int color)
color
- new inset colorint getInsetColor()
void setOnInsetsChangedListener(OnInsetsChangedListener onInsetsChangedListener)