Udostępnij za pośrednictwem


SlidingDrawer Constructors

Definition

Overloads

SlidingDrawer(Context, IAttributeSet)
Obsolete.

Creates a new SlidingDrawer from a specified set of attributes defined in XML.

SlidingDrawer(IntPtr, JniHandleOwnership)

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

SlidingDrawer(Context, IAttributeSet, Int32)
Obsolete.

Creates a new SlidingDrawer from a specified set of attributes defined in XML.

SlidingDrawer(Context, IAttributeSet, Int32, Int32)
Obsolete.

Creates a new SlidingDrawer from a specified set of attributes defined in XML.

SlidingDrawer(Context, IAttributeSet)

Caution

deprecated

Creates a new SlidingDrawer from a specified set of attributes defined in XML.

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

Parameters

context
Context

The application's environment.

attrs
IAttributeSet

The attributes defined in XML.

Attributes

Remarks

Creates a new SlidingDrawer from a specified set of attributes defined in XML.

Java documentation for android.widget.SlidingDrawer.SlidingDrawer(android.content.Context, android.util.AttributeSet).

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

SlidingDrawer(IntPtr, JniHandleOwnership)

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

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

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

SlidingDrawer(Context, IAttributeSet, Int32)

Caution

deprecated

Creates a new SlidingDrawer from a specified set of attributes defined in XML.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")]
[System.Obsolete("deprecated")]
public SlidingDrawer (Android.Content.Context? context, Android.Util.IAttributeSet? attrs, int defStyleAttr);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;I)V", "")>]
[<System.Obsolete("deprecated")>]
new Android.Widget.SlidingDrawer : Android.Content.Context * Android.Util.IAttributeSet * int -> Android.Widget.SlidingDrawer

Parameters

context
Context

The application's environment.

attrs
IAttributeSet

The attributes defined in XML.

defStyleAttr
Int32

An attribute in the current theme that contains a reference to a style resource that supplies default values for the view. Can be 0 to not look for defaults.

Attributes

Remarks

Creates a new SlidingDrawer from a specified set of attributes defined in XML.

Java documentation for android.widget.SlidingDrawer.SlidingDrawer(android.content.Context, android.util.AttributeSet, int).

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

SlidingDrawer(Context, IAttributeSet, Int32, Int32)

Caution

deprecated

Creates a new SlidingDrawer from a specified set of attributes defined in XML.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "")]
[System.Obsolete("deprecated")]
public SlidingDrawer (Android.Content.Context? context, Android.Util.IAttributeSet? attrs, int defStyleAttr, int defStyleRes);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;II)V", "")>]
[<System.Obsolete("deprecated")>]
new Android.Widget.SlidingDrawer : Android.Content.Context * Android.Util.IAttributeSet * int * int -> Android.Widget.SlidingDrawer

Parameters

context
Context

The application's environment.

attrs
IAttributeSet

The attributes defined in XML.

defStyleAttr
Int32

An attribute in the current theme that contains a reference to a style resource that supplies default values for the view. Can be 0 to not look for defaults.

defStyleRes
Int32

A resource identifier of a style resource that supplies default values for the view, used only if defStyleAttr is 0 or can not be found in the theme. Can be 0 to not look for defaults.

Attributes

Remarks

Creates a new SlidingDrawer from a specified set of attributes defined in XML.

Java documentation for android.widget.SlidingDrawer.SlidingDrawer(android.content.Context, android.util.AttributeSet, int, int).

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