次の方法で共有


Switch.SetSwitchTextAppearance(Context, Int32) メソッド

定義

指定した TextAppearance リソースの切り替えテキストの色、サイズ、スタイル、ヒントの色、および強調表示の色を設定します。

[Android.Runtime.Register("setSwitchTextAppearance", "(Landroid/content/Context;I)V", "GetSetSwitchTextAppearance_Landroid_content_Context_IHandler")]
public virtual void SetSwitchTextAppearance(Android.Content.Context? context, int resid);
[<Android.Runtime.Register("setSwitchTextAppearance", "(Landroid/content/Context;I)V", "GetSetSwitchTextAppearance_Landroid_content_Context_IHandler")>]
abstract member SetSwitchTextAppearance : Android.Content.Context * int -> unit
override this.SetSwitchTextAppearance : Android.Content.Context * int -> unit

パラメーター

context
Context
resid
Int32
属性

注釈

指定した TextAppearance リソースの切り替えテキストの色、サイズ、スタイル、ヒントの色、および強調表示の色を設定します。

の Java ドキュメントandroid.widget.Switch.setSwitchTextAppearance(android.content.Context, int)

このページの一部は、Android オープンソース プロジェクトによって作成および共有され、クリエイティブ コモンズ 2.5 属性ライセンスに記載されている条件に従って使用される作業に基づく変更です。

適用対象