Android.Preferences.PreferenceFragment.AddPreferencesFromResource Method
Inflates the given XML resource and adds the preference hierarchy to the current preference hierarchy.

Syntax

[Android.Runtime.Register("addPreferencesFromResource", "(I)V", "GetAddPreferencesFromResource_IHandler")]
public virtual void AddPreferencesFromResource (int preferencesResId)

Parameters

preferencesResId
The XML resource ID to inflate.

Remarks

Inflates the given XML resource and adds the preference hierarchy to the current preference hierarchy.

[Android Documentation]

Requirements

Namespace: Android.Preferences
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11