public class

Toolbar.LayoutParams

extends ActionBar.LayoutParams

 java.lang.Object

↳ViewGroup.MarginLayoutParams

androidx.appcompat.app.ActionBar.LayoutParams

↳androidx.appcompat.widget.Toolbar.LayoutParams

Overview

Layout information for child views of Toolbars.

Toolbar.LayoutParams extends ActionBar.LayoutParams for compatibility with existing ActionBar API. See AppCompatActivity.setSupportActionBar for more info on how to use a Toolbar as your Activity's ActionBar.

Summary

Fields
from ActionBar.LayoutParamsgravity
Constructors
publicLayoutParams(ActionBar.LayoutParams source)

publicLayoutParams(Context c, AttributeSet attrs)

publicLayoutParams(int gravity)

publicLayoutParams(int width, int height, int gravity)

publicLayoutParams(MarginLayoutParams source)

publicLayoutParams(Toolbar.LayoutParams source)

publicLayoutParams(ViewGroup.LayoutParams source)

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

Constructors

public LayoutParams(Context c, AttributeSet attrs)

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

public LayoutParams(int gravity)

public LayoutParams(Toolbar.LayoutParams source)

public LayoutParams(ActionBar.LayoutParams source)

public LayoutParams(MarginLayoutParams source)

public LayoutParams(ViewGroup.LayoutParams source)