public static class ViewPager.LayoutParams extends ViewGroup.LayoutParams
Modifier and Type | Field and Description |
---|---|
int |
gravity
Gravity setting for use on decor views only:
Where to position the view page within the overall ViewPager
container; constants are defined in
Gravity . |
boolean |
isDecor
true if this view is a decoration on the pager itself and not
a view supplied by the adapter.
|
FILL_PARENT, height, layoutAnimationParameters, MATCH_PARENT, width, WRAP_CONTENT
Constructor and Description |
---|
ViewPager.LayoutParams() |
ViewPager.LayoutParams(Context context,
AttributeSet attrs) |
debug, onDebugDraw, resolveLayoutDirection, setBaseAttributes, sizeToString
public boolean isDecor
public int gravity
Gravity
.public ViewPager.LayoutParams()
public ViewPager.LayoutParams(Context context, AttributeSet attrs)