LayoutParams

open class LayoutParams : ActionBar.LayoutParams
kotlin.Any
   ↳ android.view.ViewGroup.LayoutParams
   ↳ android.view.ViewGroup.MarginLayoutParams
   ↳ androidx.appcompat.app.ActionBar.LayoutParams
   ↳ 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.

Summary

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

<init>

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

<init>

LayoutParams(width: Int, height: Int)

<init>

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

<init>

LayoutParams(gravity: Int)

<init>

LayoutParams(source: Toolbar.LayoutParams!)

<init>

LayoutParams(source: ActionBar.LayoutParams!)

<init>

LayoutParams(source: MarginLayoutParams!)

<init>

LayoutParams(source: LayoutParams!)