Most visited

Recently visited

ActionBar.LayoutParams

public static class ActionBar.LayoutParams
extends ViewGroup.MarginLayoutParams

java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.view.ViewGroup.MarginLayoutParams
       ↳ android.support.v7.app.ActionBar.LayoutParams
Known Direct Subclasses


与操作栏自定义视图关联的每个孩子的布局信息。

Summary

Inherited XML attributes

From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams

Inherited constants

From class android.view.ViewGroup.LayoutParams

Fields

public int gravity

与这些LayoutParams相关的视图的重力。

Inherited fields

From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams

Public constructors

ActionBar.LayoutParams(Context c, AttributeSet attrs)
ActionBar.LayoutParams(int width, int height)
ActionBar.LayoutParams(int width, int height, int gravity)
ActionBar.LayoutParams(int gravity)
ActionBar.LayoutParams(ActionBar.LayoutParams source)
ActionBar.LayoutParams(ViewGroup.LayoutParams source)

Inherited methods

From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
From class java.lang.Object

Fields

gravity

int gravity

与这些LayoutParams相关的视图的重力。

也可以看看:

Public constructors

ActionBar.LayoutParams

ActionBar.LayoutParams (Context c, 
                AttributeSet attrs)

Parameters
c Context
attrs AttributeSet

ActionBar.LayoutParams

ActionBar.LayoutParams (int width, 
                int height)

Parameters
width int
height int

ActionBar.LayoutParams

ActionBar.LayoutParams (int width, 
                int height, 
                int gravity)

Parameters
width int
height int
gravity int

ActionBar.LayoutParams

ActionBar.LayoutParams (int gravity)

Parameters
gravity int

ActionBar.LayoutParams

ActionBar.LayoutParams (ActionBar.LayoutParams source)

Parameters
source ActionBar.LayoutParams

ActionBar.LayoutParams

ActionBar.LayoutParams (ViewGroup.LayoutParams source)

Parameters
source ViewGroup.LayoutParams

Hooray!