public class

ActionBar.LayoutParams

extends ViewGroup.MarginLayoutParams

 java.lang.Object

↳ViewGroup.MarginLayoutParams

↳androidx.appcompat.app.ActionBar.LayoutParams

Subclasses:

Toolbar.LayoutParams

Overview

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

Summary

Fields
public intgravity

Gravity for the view associated with these LayoutParams.

Constructors
publicLayoutParams(ActionBar.LayoutParams source)

publicLayoutParams(Context c, AttributeSet attrs)

publicLayoutParams(int gravity)

publicLayoutParams(int width, int height, int gravity)

publicLayoutParams(ViewGroup.LayoutParams source)

Methods
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public int gravity

Gravity for the view associated with these LayoutParams.

See also:

Constructors

public LayoutParams(Context c, AttributeSet attrs)

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

public LayoutParams(int gravity)

public LayoutParams(ActionBar.LayoutParams source)

public LayoutParams(ViewGroup.LayoutParams source)