Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

ActionBar.LayoutParams

public static class ActionBar.LayoutParams
extends ViewGroup.MarginLayoutParams

java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.view.ViewGroup.MarginLayoutParams
       ↳ androidx.appcompat.app.ActionBar.LayoutParams


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

Summary

Inherited constants

Fields

public int gravity

Gravity for the view associated with these LayoutParams.

Inherited fields

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

Fields

gravity

public int gravity

Gravity for the view associated with these LayoutParams.

See also:

Public constructors

ActionBar.LayoutParams

public ActionBar.LayoutParams (Context c, 
                AttributeSet attrs)

Parameters
c Context

attrs AttributeSet

ActionBar.LayoutParams

public ActionBar.LayoutParams (int width, 
                int height)

Parameters
width int

height int

ActionBar.LayoutParams

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

Parameters
width int

height int

gravity int

ActionBar.LayoutParams

public ActionBar.LayoutParams (int gravity)

Parameters
gravity int

ActionBar.LayoutParams

public ActionBar.LayoutParams (ActionBar.LayoutParams source)

Parameters
source ActionBar.LayoutParams

ActionBar.LayoutParams

public ActionBar.LayoutParams (ViewGroup.LayoutParams source)

Parameters
source ViewGroup.LayoutParams