次の方法で共有


ActivityInfo.ThemeResource Property

Definition

Return the theme resource identifier to use for this activity.

public int ThemeResource { [Android.Runtime.Register("getThemeResource", "()I", "")] get; }
[<get: Android.Runtime.Register("getThemeResource", "()I", "")>]
member this.ThemeResource : int

Property Value

The theme associated with this activity.

Attributes

Remarks

Return the theme resource identifier to use for this activity. If the activity defines a theme, that is used; else, the application theme is used.

Java documentation for android.content.pm.ActivityInfo.getThemeResource().

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