Condividi tramite


TextView.SetCompoundDrawablesWithIntrinsicBounds Metodo

Definizione

Overload

SetCompoundDrawablesWithIntrinsicBounds(Drawable, Drawable, Drawable, Drawable)

Imposta gli oggetti Drawable (se presenti) da visualizzare a sinistra di, sopra, a destra di e sotto il testo.

SetCompoundDrawablesWithIntrinsicBounds(Int32, Int32, Int32, Int32)

Imposta gli oggetti Drawable (se presenti) da visualizzare a sinistra di, sopra, a destra di e sotto il testo.

SetCompoundDrawablesWithIntrinsicBounds(Drawable, Drawable, Drawable, Drawable)

Imposta gli oggetti Drawable (se presenti) da visualizzare a sinistra di, sopra, a destra di e sotto il testo.

[Android.Runtime.Register("setCompoundDrawablesWithIntrinsicBounds", "(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", "GetSetCompoundDrawablesWithIntrinsicBounds_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Handler")]
public virtual void SetCompoundDrawablesWithIntrinsicBounds (Android.Graphics.Drawables.Drawable? left, Android.Graphics.Drawables.Drawable? top, Android.Graphics.Drawables.Drawable? right, Android.Graphics.Drawables.Drawable? bottom);
[<Android.Runtime.Register("setCompoundDrawablesWithIntrinsicBounds", "(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", "GetSetCompoundDrawablesWithIntrinsicBounds_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Handler")>]
abstract member SetCompoundDrawablesWithIntrinsicBounds : Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable -> unit
override this.SetCompoundDrawablesWithIntrinsicBounds : Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable -> unit

Parametri

left
Drawable

Identificatore della risorsa dell'oggetto Drawable a sinistra.

top
Drawable

Identificatore della risorsa della parte superiore drawable.

right
Drawable

Identificatore di risorsa dell'elemento Drawable corretto.

bottom
Drawable

Identificatore della risorsa dell'oggetto Drawable inferiore.

Attributi

Commenti

Imposta gli oggetti Drawable (se presenti) da visualizzare a sinistra di, sopra, a destra di e sotto il testo. Utilizzare null se non si desidera un elemento Drawable. I limiti di Drawables verranno impostati sui limiti intrinseci.

La chiamata a questo metodo sovrascriverà qualsiasi elemento Drawable impostato in precedenza utilizzando #setCompoundDrawablesRelative o metodi correlati.

Documentazione java per android.widget.TextView.setCompoundDrawablesWithIntrinsicBounds(android.graphics.drawable.Drawable, android.graphics.drawable.Drawable, android.graphics.drawable.Drawable, android.graphics.drawable.Drawable).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a

SetCompoundDrawablesWithIntrinsicBounds(Int32, Int32, Int32, Int32)

Imposta gli oggetti Drawable (se presenti) da visualizzare a sinistra di, sopra, a destra di e sotto il testo.

[Android.Runtime.Register("setCompoundDrawablesWithIntrinsicBounds", "(IIII)V", "GetSetCompoundDrawablesWithIntrinsicBounds_IIIIHandler")]
public virtual void SetCompoundDrawablesWithIntrinsicBounds (int left, int top, int right, int bottom);
[<Android.Runtime.Register("setCompoundDrawablesWithIntrinsicBounds", "(IIII)V", "GetSetCompoundDrawablesWithIntrinsicBounds_IIIIHandler")>]
abstract member SetCompoundDrawablesWithIntrinsicBounds : int * int * int * int -> unit
override this.SetCompoundDrawablesWithIntrinsicBounds : int * int * int * int -> unit

Parametri

left
Int32

Identificatore della risorsa dell'oggetto Drawable a sinistra.

top
Int32

Identificatore della risorsa della parte superiore drawable.

right
Int32

Identificatore di risorsa dell'elemento Drawable corretto.

bottom
Int32

Identificatore della risorsa dell'oggetto Drawable inferiore.

Attributi

Commenti

Imposta gli oggetti Drawable (se presenti) da visualizzare a sinistra di, sopra, a destra di e sotto il testo. Usa 0 se non vuoi un elemento Drawable. I limiti di Drawables verranno impostati sui limiti intrinseci.

La chiamata a questo metodo sovrascriverà qualsiasi elemento Drawable impostato in precedenza utilizzando #setCompoundDrawablesRelative o metodi correlati.

Documentazione java per android.widget.TextView.setCompoundDrawablesWithIntrinsicBounds(int, int, int, int).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a