TextView.SetCompoundDrawablesWithIntrinsicBounds Método

Definição

Sobrecargas

SetCompoundDrawablesWithIntrinsicBounds(Drawable, Drawable, Drawable, Drawable)

Define os Drawables (se houver) para aparecer à esquerda de, acima, à direita e abaixo do texto.

SetCompoundDrawablesWithIntrinsicBounds(Int32, Int32, Int32, Int32)

Define os Drawables (se houver) para aparecer à esquerda de, acima, à direita e abaixo do texto.

SetCompoundDrawablesWithIntrinsicBounds(Drawable, Drawable, Drawable, Drawable)

Define os Drawables (se houver) para aparecer à esquerda de, acima, à direita e abaixo do texto.

[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

Parâmetros

left
Drawable

Identificador de recurso do Drawable esquerdo.

top
Drawable

Identificador de recurso do Drawable superior.

right
Drawable

Identificador de recurso do direito Drawable.

bottom
Drawable

Identificador de recurso da parte inferior Drawable.

Atributos

Comentários

Define os Drawables (se houver) para aparecer à esquerda de, acima, à direita e abaixo do texto. Use null se você não quiser um Drawable lá. Os limites dos Drawables serão definidos para seus limites intrínsecos.

Chamar esse método substituirá qualquer Drawables definido anteriormente usando #setCompoundDrawablesRelative ou métodos relacionados.

Documentação Java para android.widget.TextView.setCompoundDrawablesWithIntrinsicBounds(android.graphics.drawable.Drawable, android.graphics.drawable.Drawable, android.graphics.drawable.Drawable, android.graphics.drawable.Drawable).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Android Open Source Project e usado de acordo com os termos descritos na Creative Commons 2.5 Attribution License.

Aplica-se a

SetCompoundDrawablesWithIntrinsicBounds(Int32, Int32, Int32, Int32)

Define os Drawables (se houver) para aparecer à esquerda de, acima, à direita e abaixo do texto.

[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

Parâmetros

left
Int32

Identificador de recurso do Drawable esquerdo.

top
Int32

Identificador de recurso do Drawable superior.

right
Int32

Identificador de recurso do direito Drawable.

bottom
Int32

Identificador de recurso da parte inferior Drawable.

Atributos

Comentários

Define os Drawables (se houver) para aparecer à esquerda de, acima, à direita e abaixo do texto. Use 0 se você não quiser um Drawable lá. Os limites dos Drawables serão definidos para seus limites intrínsecos.

Chamar esse método substituirá qualquer Drawables definido anteriormente usando #setCompoundDrawablesRelative ou métodos relacionados.

Documentação Java para android.widget.TextView.setCompoundDrawablesWithIntrinsicBounds(int, int, int, int).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Android Open Source Project e usado de acordo com os termos descritos na Creative Commons 2.5 Attribution License.

Aplica-se a