ContextThemeWrapper.OnApplyThemeResource 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
및 #getTheme
에서 #setTheme
호출되어 현재 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에 스타일을 처음 적용하는 <경우>
- 특성
설명
이 페이지의 일부는 만들고 공유하며 에 설명된 용어에 따라 사용되는 작업을 기반으로 수정됩니다.