共用方式為


Drawable.ApplyTheme(Resources+Theme) Method

Definition

Applies the specified theme to this Drawable and its children.

[Android.Runtime.Register("applyTheme", "(Landroid/content/res/Resources$Theme;)V", "GetApplyTheme_Landroid_content_res_Resources_Theme_Handler")]
public virtual void ApplyTheme (Android.Content.Res.Resources.Theme t);
[<Android.Runtime.Register("applyTheme", "(Landroid/content/res/Resources$Theme;)V", "GetApplyTheme_Landroid_content_res_Resources_Theme_Handler")>]
abstract member ApplyTheme : Android.Content.Res.Resources.Theme -> unit
override this.ApplyTheme : Android.Content.Res.Resources.Theme -> unit

Parameters

t
Resources.Theme

the theme to apply

Attributes

Remarks

Java documentation for android.graphics.drawable.Drawable.applyTheme(android.content.res.Theme).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to