public
static
class
ViewPager.LayoutParams
extends ViewGroup.LayoutParams
Layout parameters that should be supplied for views added to a
ViewPager.
Summary
Inherited constants |
From class
android.view.ViewGroup.LayoutParams
int |
FILL_PARENT
|
int |
MATCH_PARENT
|
int |
WRAP_CONTENT
|
|
Fields |
public
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 .
|
public
boolean |
isDecor
true if this view is a decoration on the pager itself and not
a view supplied by the adapter.
|
Inherited fields |
From class
android.view.ViewGroup.LayoutParams
|
Inherited methods |
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Fields
gravity
public 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
.
isDecor
public boolean isDecor
true if this view is a decoration on the pager itself and not
a view supplied by the adapter.
Public constructors
LayoutParams
public LayoutParams ()
LayoutParams
public LayoutParams (Context context,
AttributeSet attrs)
Parameters |
context |
Context |
attrs |
AttributeSet |