PreferenceFragment.AddPreferencesFromResource(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inflates the given XML resource and adds the preference hierarchy to the current preference hierarchy.
[Android.Runtime.Register("addPreferencesFromResource", "(I)V", "GetAddPreferencesFromResource_IHandler")]
public virtual void AddPreferencesFromResource (int preferencesResId);
[<Android.Runtime.Register("addPreferencesFromResource", "(I)V", "GetAddPreferencesFromResource_IHandler")>]
abstract member AddPreferencesFromResource : int -> unit
override this.AddPreferencesFromResource : int -> unit
Parameters
- preferencesResId
- Int32
The XML resource ID to inflate.
- Attributes
Remarks
Inflates the given XML resource and adds the preference hierarchy to the current preference hierarchy.
Java documentation for android.preference.PreferenceFragment.addPreferencesFromResource(int)
.
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.