共用方式為


Fragment.Resources Property

Definition

Return getActivity().getResources().

public Android.Content.Res.Resources? Resources { [Android.Runtime.Register("getResources", "()Landroid/content/res/Resources;", "")] get; }
[<get: Android.Runtime.Register("getResources", "()Landroid/content/res/Resources;", "")>]
member this.Resources : Android.Content.Res.Resources

Property Value

Attributes

Remarks

Return getActivity().getResources().

Java documentation for android.app.Fragment.getResources().

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