Condividi tramite


DynamicDrawableSpan Constructors

Definition

Overloads

DynamicDrawableSpan()

Creates a DynamicDrawableSpan.

DynamicDrawableSpan(Int32)

Creates a DynamicDrawableSpan based on a vertical alignment.

DynamicDrawableSpan(IntPtr, JniHandleOwnership)

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

DynamicDrawableSpan()

Creates a DynamicDrawableSpan.

[Android.Runtime.Register(".ctor", "()V", "")]
public DynamicDrawableSpan ();
Attributes

Remarks

Creates a DynamicDrawableSpan. The default vertical alignment is #ALIGN_BOTTOM

Java documentation for android.text.style.DynamicDrawableSpan.DynamicDrawableSpan().

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

DynamicDrawableSpan(Int32)

Creates a DynamicDrawableSpan based on a vertical alignment.

[Android.Runtime.Register(".ctor", "(I)V", "")]
protected DynamicDrawableSpan (int verticalAlignment);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Text.Style.DynamicDrawableSpan : int -> Android.Text.Style.DynamicDrawableSpan

Parameters

verticalAlignment
Int32

one of #ALIGN_BOTTOM, #ALIGN_BASELINE or #ALIGN_CENTER

Attributes

Remarks

Creates a DynamicDrawableSpan based on a vertical alignment.\

Java documentation for android.text.style.DynamicDrawableSpan.DynamicDrawableSpan(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

DynamicDrawableSpan(IntPtr, JniHandleOwnership)

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

protected DynamicDrawableSpan (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Text.Style.DynamicDrawableSpan : nativeint * Android.Runtime.JniHandleOwnership -> Android.Text.Style.DynamicDrawableSpan

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