public static class PercentFrameLayout.LayoutParams
extends FrameLayout.LayoutParams implements PercentLayoutHelper.PercentLayoutParams
| java.lang.Object | ||||
| android.view.ViewGroup.LayoutParams | ||||
| android.view.ViewGroup.MarginLayoutParams | ||||
| android.widget.FrameLayout.LayoutParams | ||||
| android.support.percent.PercentFrameLayout.LayoutParams | ||||
Inherited XML attributes |
|
|---|---|
android.widget.FrameLayout.LayoutParams
|
|
android.view.ViewGroup.MarginLayoutParams
|
|
android.view.ViewGroup.LayoutParams
|
|
Inherited constants |
|---|
android.widget.FrameLayout.LayoutParams
|
android.view.ViewGroup.LayoutParams
|
Inherited fields |
|---|
android.widget.FrameLayout.LayoutParams
|
android.view.ViewGroup.MarginLayoutParams
|
android.view.ViewGroup.LayoutParams
|
Public constructors |
|
|---|---|
PercentFrameLayout.LayoutParams(Context c, AttributeSet attrs) |
|
PercentFrameLayout.LayoutParams(int width, int height) |
|
PercentFrameLayout.LayoutParams(int width, int height, int gravity) |
|
PercentFrameLayout.LayoutParams(ViewGroup.LayoutParams source) |
|
PercentFrameLayout.LayoutParams(ViewGroup.MarginLayoutParams source) |
|
PercentFrameLayout.LayoutParams(FrameLayout.LayoutParams source) |
|
PercentFrameLayout.LayoutParams(PercentFrameLayout.LayoutParams source) |
|
公共方法(Public methods) |
|
|---|---|
PercentLayoutHelper.PercentLayoutInfo |
getPercentLayoutInfo() |
Protected methods |
|
|---|---|
void |
setBaseAttributes(TypedArray a, int widthAttr, int heightAttr) 从提供的属性中提取布局参数。 |
继承方法(Inherited methods) |
|
|---|---|
android.view.ViewGroup.MarginLayoutParams
|
|
android.view.ViewGroup.LayoutParams
|
|
java.lang.Object
|
|
android.support.percent.PercentLayoutHelper.PercentLayoutParams
|
|
PercentFrameLayout.LayoutParams (Context c, AttributeSet attrs)
| 参数(Parameters) | |
|---|---|
c |
Context
|
attrs |
AttributeSet
|
PercentFrameLayout.LayoutParams (int width,
int height)
| 参数(Parameters) | |
|---|---|
width |
int
|
height |
int
|
PercentFrameLayout.LayoutParams (int width,
int height,
int gravity)
| 参数(Parameters) | |
|---|---|
width |
int
|
height |
int
|
gravity |
int
|
PercentFrameLayout.LayoutParams (ViewGroup.LayoutParams source)
| 参数(Parameters) | |
|---|---|
source |
ViewGroup.LayoutParams
|
PercentFrameLayout.LayoutParams (ViewGroup.MarginLayoutParams source)
| 参数(Parameters) | |
|---|---|
source |
ViewGroup.MarginLayoutParams
|
PercentFrameLayout.LayoutParams (FrameLayout.LayoutParams source)
| 参数(Parameters) | |
|---|---|
source |
FrameLayout.LayoutParams
|
PercentFrameLayout.LayoutParams (PercentFrameLayout.LayoutParams source)
| 参数(Parameters) | |
|---|---|
source |
PercentFrameLayout.LayoutParams
|
PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo ()
| 返回(Returns) | |
|---|---|
PercentLayoutHelper.PercentLayoutInfo |
|
void setBaseAttributes (TypedArray a, int widthAttr, int heightAttr)
从提供的属性中提取布局参数。
| 参数(Parameters) | |
|---|---|
a |
TypedArray: the style attributes to extract the parameters from |
widthAttr |
int: the identifier of the width attribute |
heightAttr |
int: the identifier of the height attribute |