DrawableMarginSpan Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| DrawableMarginSpan(Drawable) |
Creates a |
| DrawableMarginSpan(Drawable, Int32) |
Creates a |
| DrawableMarginSpan(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
DrawableMarginSpan(Drawable)
Creates a DrawableMarginSpan from a Drawable.
[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Drawable;)V", "")]
public DrawableMarginSpan(Android.Graphics.Drawables.Drawable drawable);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Drawable;)V", "")>]
new Android.Text.Style.DrawableMarginSpan : Android.Graphics.Drawables.Drawable -> Android.Text.Style.DrawableMarginSpan
Parameters
- drawable
- Drawable
the drawable to be added
- Attributes
Remarks
Creates a DrawableMarginSpan from a Drawable. The pad width will be 0.
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
DrawableMarginSpan(Drawable, Int32)
Creates a DrawableMarginSpan from a Drawable and a padding, in pixels.
[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Drawable;I)V", "")]
public DrawableMarginSpan(Android.Graphics.Drawables.Drawable drawable, int pad);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/Drawable;I)V", "")>]
new Android.Text.Style.DrawableMarginSpan : Android.Graphics.Drawables.Drawable * int -> Android.Text.Style.DrawableMarginSpan
Parameters
- drawable
- Drawable
the drawable to be added
- pad
- Int32
the distance between the drawable and the text
- Attributes
Remarks
Creates a DrawableMarginSpan from a Drawable and a padding, in pixels.
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
DrawableMarginSpan(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected DrawableMarginSpan(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Text.Style.DrawableMarginSpan : nativeint * Android.Runtime.JniHandleOwnership -> Android.Text.Style.DrawableMarginSpan
Parameters
- 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.