public static class ViewPager.LayoutParams
extends ViewGroup.LayoutParams
java.lang.Object | ||
↳ | android.view.ViewGroup.LayoutParams | |
↳ | android.support.v4.view.ViewPager.LayoutParams |
应该为添加到ViewPager的视图提供的布局参数。
Inherited XML attributes |
|
---|---|
From class android.view.ViewGroup.LayoutParams
|
Inherited constants |
---|
From class android.view.ViewGroup.LayoutParams
|
Fields |
|
---|---|
public int |
gravity 仅用于装饰视图的重力设置:将View页面放置在整个ViewPager容器内的位置; 常量在 |
public boolean |
isDecor 如果此视图是传呼机本身的装饰而不是适配器提供的视图,则为true。 |
Inherited fields |
---|
From class android.view.ViewGroup.LayoutParams
|
Public constructors |
|
---|---|
ViewPager.LayoutParams() |
|
ViewPager.LayoutParams(Context context, AttributeSet attrs) |
Inherited methods |
|
---|---|
From class android.view.ViewGroup.LayoutParams
|
|
From class java.lang.Object
|
boolean isDecor
如果此视图是传呼机本身的装饰而不是适配器提供的视图,则为true。
ViewPager.LayoutParams ()
ViewPager.LayoutParams (Context context, AttributeSet attrs)
Parameters | |
---|---|
context |
Context
|
attrs |
AttributeSet
|