Udostępnij za pośrednictwem


ActionBar.LayoutParams Constructors

Definition

Overloads

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

A constructor used when creating managed representations of JNI objects; called by the runtime.

ActionBar.LayoutParams(Int32, Int32, GravityFlags)

ActionBar.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.App.ActionBar.LayoutParams : Android.App.ActionBar.LayoutParams -> Android.App.ActionBar.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

ActionBar.LayoutParams(GravityFlags)

[Android.Runtime.Register(".ctor", "(I)V", "")]
public LayoutParams (Android.Views.GravityFlags gravity);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.App.ActionBar.LayoutParams : Android.Views.GravityFlags -> Android.App.ActionBar.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

ActionBar.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.App.ActionBar.LayoutParams : Android.Views.ViewGroup.LayoutParams -> Android.App.ActionBar.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

ActionBar.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.App.ActionBar.LayoutParams : Android.Content.Context * Android.Util.IAttributeSet -> Android.App.ActionBar.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

ActionBar.LayoutParams(Int32, Int32)

[Android.Runtime.Register(".ctor", "(II)V", "")]
public LayoutParams (int width, int height);
[<Android.Runtime.Register(".ctor", "(II)V", "")>]
new Android.App.ActionBar.LayoutParams : int * int -> Android.App.ActionBar.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

ActionBar.LayoutParams(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

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

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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

ActionBar.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.App.ActionBar.LayoutParams : int * int * Android.Views.GravityFlags -> Android.App.ActionBar.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