TextView.SetCompoundDrawablesRelativeWithIntrinsicBounds メソッド

定義

オーバーロード

SetCompoundDrawablesRelativeWithIntrinsicBounds(Drawable, Drawable, Drawable, Drawable)

テキストの先頭、上、末尾、およびテキストの下に表示する Drawables (存在する場合) を設定します。

SetCompoundDrawablesRelativeWithIntrinsicBounds(Int32, Int32, Int32, Int32)

テキストの先頭、上、末尾、およびテキストの下に表示する Drawables (存在する場合) を設定します。

SetCompoundDrawablesRelativeWithIntrinsicBounds(Drawable, Drawable, Drawable, Drawable)

テキストの先頭、上、末尾、およびテキストの下に表示する Drawables (存在する場合) を設定します。

[Android.Runtime.Register("setCompoundDrawablesRelativeWithIntrinsicBounds", "(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", "GetSetCompoundDrawablesRelativeWithIntrinsicBounds_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Handler")]
public virtual void SetCompoundDrawablesRelativeWithIntrinsicBounds (Android.Graphics.Drawables.Drawable? start, Android.Graphics.Drawables.Drawable? top, Android.Graphics.Drawables.Drawable? end, Android.Graphics.Drawables.Drawable? bottom);
[<Android.Runtime.Register("setCompoundDrawablesRelativeWithIntrinsicBounds", "(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V", "GetSetCompoundDrawablesRelativeWithIntrinsicBounds_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Landroid_graphics_drawable_Drawable_Handler")>]
abstract member SetCompoundDrawablesRelativeWithIntrinsicBounds : Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable -> unit
override this.SetCompoundDrawablesRelativeWithIntrinsicBounds : Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable * Android.Graphics.Drawables.Drawable -> unit

パラメーター

start
Drawable

開始 Drawable のリソース識別子。

top
Drawable

最上位の Drawable のリソース識別子。

end
Drawable

終了 Drawable のリソース識別子。

bottom
Drawable

下位の Drawable のリソース識別子。

属性

注釈

テキストの先頭、上、末尾、およびテキストの下に表示する Drawables (存在する場合) を設定します。 Drawable が必要ない場合は、 を使用 null します。 Drawables の境界は、組み込みの境界に設定されます。

このメソッドを呼び出すと、以前にまたは関連するメソッドを使用して #setCompoundDrawables 設定されたすべての Drawable が上書きされます。

android.widget.TextView.setCompoundDrawablesRelativeWithIntrinsicBounds(android.graphics.drawable.Drawable, android.graphics.drawable.Drawable, android.graphics.drawable.Drawable, android.graphics.drawable.Drawable)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象

SetCompoundDrawablesRelativeWithIntrinsicBounds(Int32, Int32, Int32, Int32)

テキストの先頭、上、末尾、およびテキストの下に表示する Drawables (存在する場合) を設定します。

[Android.Runtime.Register("setCompoundDrawablesRelativeWithIntrinsicBounds", "(IIII)V", "GetSetCompoundDrawablesRelativeWithIntrinsicBounds_IIIIHandler")]
public virtual void SetCompoundDrawablesRelativeWithIntrinsicBounds (int start, int top, int end, int bottom);
[<Android.Runtime.Register("setCompoundDrawablesRelativeWithIntrinsicBounds", "(IIII)V", "GetSetCompoundDrawablesRelativeWithIntrinsicBounds_IIIIHandler")>]
abstract member SetCompoundDrawablesRelativeWithIntrinsicBounds : int * int * int * int -> unit
override this.SetCompoundDrawablesRelativeWithIntrinsicBounds : int * int * int * int -> unit

パラメーター

start
Int32

開始 Drawable のリソース識別子。

top
Int32

最上位の Drawable のリソース識別子。

end
Int32

終了 Drawable のリソース識別子。

bottom
Int32

下位の Drawable のリソース識別子。

属性

注釈

テキストの先頭、上、末尾、およびテキストの下に表示する Drawables (存在する場合) を設定します。 描画可能ファイルが必要ない場合は、0 を使用します。 Drawables の境界は、組み込みの境界に設定されます。

このメソッドを呼び出すと、以前にまたは関連するメソッドを使用して #setCompoundDrawables 設定されたすべての Drawable が上書きされます。

android.widget.TextView.setCompoundDrawablesRelativeWithIntrinsicBounds(int, int, int, int)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象