Partager via


Toolbar.LayoutParams Constructors

Definition

Overloads

Toolbar.LayoutParams(ActionBar+LayoutParams)
Toolbar.LayoutParams(GravityFlags)
Toolbar.LayoutParams(ViewGroup+LayoutParams)
Toolbar.LayoutParams(ViewGroup+MarginLayoutParams)
Toolbar.LayoutParams(Toolbar+LayoutParams)
Toolbar.LayoutParams(Context, IAttributeSet)
Toolbar.LayoutParams(Int32, Int32)
Toolbar.LayoutParams(IntPtr, JniHandleOwnership)
Toolbar.LayoutParams(Int32, Int32, GravityFlags)

Toolbar.LayoutParams(ActionBar+LayoutParams)

[Android.Runtime.Register(".ctor", "(Landroid/app/ActionBar$LayoutParams;)V", "")]
public LayoutParams (Android.App.ActionBar.LayoutParams? source);
[<Android.Runtime.Register(".ctor", "(Landroid/app/ActionBar$LayoutParams;)V", "")>]
new Android.Widget.Toolbar.LayoutParams : Android.App.ActionBar.LayoutParams -> Android.Widget.Toolbar.LayoutParams

Parameters

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Toolbar.LayoutParams(GravityFlags)

[Android.Runtime.Register(".ctor", "(I)V", "")]
public LayoutParams (Android.Views.GravityFlags gravity);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Widget.Toolbar.LayoutParams : Android.Views.GravityFlags -> Android.Widget.Toolbar.LayoutParams

Parameters

gravity
GravityFlags
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Toolbar.LayoutParams(ViewGroup+LayoutParams)

[Android.Runtime.Register(".ctor", "(Landroid/view/ViewGroup$LayoutParams;)V", "")]
public LayoutParams (Android.Views.ViewGroup.LayoutParams? source);
[<Android.Runtime.Register(".ctor", "(Landroid/view/ViewGroup$LayoutParams;)V", "")>]
new Android.Widget.Toolbar.LayoutParams : Android.Views.ViewGroup.LayoutParams -> Android.Widget.Toolbar.LayoutParams

Parameters

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Toolbar.LayoutParams(ViewGroup+MarginLayoutParams)

[Android.Runtime.Register(".ctor", "(Landroid/view/ViewGroup$MarginLayoutParams;)V", "")]
public LayoutParams (Android.Views.ViewGroup.MarginLayoutParams? source);
[<Android.Runtime.Register(".ctor", "(Landroid/view/ViewGroup$MarginLayoutParams;)V", "")>]
new Android.Widget.Toolbar.LayoutParams : Android.Views.ViewGroup.MarginLayoutParams -> Android.Widget.Toolbar.LayoutParams

Parameters

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Toolbar.LayoutParams(Toolbar+LayoutParams)

[Android.Runtime.Register(".ctor", "(Landroid/widget/Toolbar$LayoutParams;)V", "")]
public LayoutParams (Android.Widget.Toolbar.LayoutParams? source);
[<Android.Runtime.Register(".ctor", "(Landroid/widget/Toolbar$LayoutParams;)V", "")>]
new Android.Widget.Toolbar.LayoutParams : Android.Widget.Toolbar.LayoutParams -> Android.Widget.Toolbar.LayoutParams

Parameters

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Toolbar.LayoutParams(Context, IAttributeSet)

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public LayoutParams (Android.Content.Context c, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Widget.Toolbar.LayoutParams : Android.Content.Context * Android.Util.IAttributeSet -> Android.Widget.Toolbar.LayoutParams

Parameters

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Toolbar.LayoutParams(Int32, Int32)

[Android.Runtime.Register(".ctor", "(II)V", "")]
public LayoutParams (int width, int height);
[<Android.Runtime.Register(".ctor", "(II)V", "")>]
new Android.Widget.Toolbar.LayoutParams : int * int -> Android.Widget.Toolbar.LayoutParams

Parameters

width
Int32
height
Int32
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Toolbar.LayoutParams(IntPtr, JniHandleOwnership)

protected LayoutParams (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Widget.Toolbar.LayoutParams : nativeint * Android.Runtime.JniHandleOwnership -> Android.Widget.Toolbar.LayoutParams

Parameters

javaReference
IntPtr

nativeint

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Toolbar.LayoutParams(Int32, Int32, GravityFlags)

[Android.Runtime.Register(".ctor", "(III)V", "")]
public LayoutParams (int width, int height, Android.Views.GravityFlags gravity);
[<Android.Runtime.Register(".ctor", "(III)V", "")>]
new Android.Widget.Toolbar.LayoutParams : int * int * Android.Views.GravityFlags -> Android.Widget.Toolbar.LayoutParams

Parameters

width
Int32
height
Int32
gravity
GravityFlags
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to