Android APIs
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

Class Overview

Per-child layout information associated with action bar custom views.

Summary

[Expand]
Inherited XML Attributes
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
[Expand]
Inherited Constants
From class android.view.ViewGroup.LayoutParams
Fields
public int gravity Gravity for the view associated with these LayoutParams.
[Expand]
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)
[Expand]
Inherited Methods
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
From class java.lang.Object

Fields

public int gravity

Gravity for the view associated with these LayoutParams.

See also:

Public Constructors

public ActionBar.LayoutParams (Context c, AttributeSet attrs)

Parameters
c Context
attrs AttributeSet

public ActionBar.LayoutParams (int width, int height)

Parameters
width int
height int

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

Parameters
width int
height int
gravity int

public ActionBar.LayoutParams (int gravity)

Parameters
gravity int

public ActionBar.LayoutParams (ActionBar.LayoutParams source)

Parameters
source ActionBar.LayoutParams

public ActionBar.LayoutParams (ViewGroup.LayoutParams source)

Parameters
source ViewGroup.LayoutParams