ContextThemeWrapper.OnApplyThemeResource メソッド

定義

と によって呼び出され#setTheme#getTheme、テーマ リソースを現在の Theme オブジェクトに適用します。

[Android.Runtime.Register("onApplyThemeResource", "(Landroid/content/res/Resources$Theme;IZ)V", "GetOnApplyThemeResource_Landroid_content_res_Resources_Theme_IZHandler")]
protected virtual void OnApplyThemeResource (Android.Content.Res.Resources.Theme? theme, int resId, bool first);
[<Android.Runtime.Register("onApplyThemeResource", "(Landroid/content/res/Resources$Theme;IZ)V", "GetOnApplyThemeResource_Landroid_content_res_Resources_Theme_IZHandler")>]
abstract member OnApplyThemeResource : Android.Content.Res.Resources.Theme * int * bool -> unit
override this.OnApplyThemeResource : Android.Content.Res.Resources.Theme * int * bool -> unit

パラメーター

theme
Resources.Theme

変更中のテーマ

resId
Int32

var>theme</var に<適用されているスタイル リソース>

first
Boolean

trueスタイルが var>theme</var に<初めて適用される場合>

属性

注釈

android.view.ContextThemeWrapper.onApplyThemeResource(android.content.res.Theme, int, boolean)Java ドキュメント。

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

適用対象