open class LayoutParams : ActionBar.LayoutParams
   ↳ android.view.ViewGroup.LayoutParams
   ↳ android.view.ViewGroup.MarginLayoutParams
   ↳ androidx.appcompat.widget.Toolbar.LayoutParams

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.


Public constructors
<init>(@NonNull c: Context, attrs: AttributeSet!)

<init>(width: Int, height: Int)

<init>(width: Int, height: Int, gravity: Int)

<init>(gravity: Int)

<init>(source: LayoutParams!)

Inherited properties

Public constructors


LayoutParams(@NonNull c: Context, attrs: AttributeSet!)


LayoutParams(width: Int, height: Int)


LayoutParams(width: Int, height: Int, gravity: Int)


LayoutParams(gravity: Int)


LayoutParams(source: Toolbar.LayoutParams!)


LayoutParams(source: ActionBar.LayoutParams!)


LayoutParams(source: MarginLayoutParams!)


LayoutParams(source: LayoutParams!)