Język

PreferenceManager.CreatePreferenceScreen(Context) Method

Definition

Creates a preference screen and attaches it to this manager.

[Android.Runtime.Register("createPreferenceScreen", "(Landroid/content/Context;)Landroid/preference/PreferenceScreen;", "GetCreatePreferenceScreen_Landroid_content_Context_Handler")]
public virtual Android.Preferences.PreferenceScreen? CreatePreferenceScreen(Android.Content.Context? context);
[<Android.Runtime.Register("createPreferenceScreen", "(Landroid/content/Context;)Landroid/preference/PreferenceScreen;", "GetCreatePreferenceScreen_Landroid_content_Context_Handler")>]
abstract member CreatePreferenceScreen : Android.Content.Context -> Android.Preferences.PreferenceScreen
override this.CreatePreferenceScreen : Android.Content.Context -> Android.Preferences.PreferenceScreen

Parameters

context
Context

The context used to create the preference screen.

Returns

The new preference screen attached to this manager.

Attributes

Remarks

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