Drawable.ApplyTheme(Resources+Theme) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定的主题应用于此 Drawable 及其子级。
[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
参数
要应用的主题
- 特性
注解
Java文档android.graphics.drawable.Drawable.applyTheme(android.content.res.Theme)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。