public class ViewOffsetBehavior<V extends android.view.View>
extends <any>
ViewOffsetHelper on a View.android.support.design.widget.ViewOffsetBehavior| Constructor and Description |
|---|
ViewOffsetBehavior() |
ViewOffsetBehavior(android.content.Context context,
android.util.AttributeSet attrs) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLeftAndRightOffset() |
int |
getTopAndBottomOffset() |
protected void |
layoutChild(CoordinatorLayout parent,
V child,
int layoutDirection) |
boolean |
onLayoutChild(CoordinatorLayout parent,
V child,
int layoutDirection) |
boolean |
setLeftAndRightOffset(int offset) |
boolean |
setTopAndBottomOffset(int offset) |
public ViewOffsetBehavior()
public ViewOffsetBehavior(android.content.Context context,
android.util.AttributeSet attrs)
public boolean onLayoutChild(CoordinatorLayout parent,
V child,
int layoutDirection)
protected void layoutChild(CoordinatorLayout parent,
V child,
int layoutDirection)
public boolean setTopAndBottomOffset(int offset)
public boolean setLeftAndRightOffset(int offset)
public int getTopAndBottomOffset()
public int getLeftAndRightOffset()