ResourcesProvider.LoadOverlay(OverlayInfo) 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.
Creates a ResourcesProvider instance from the specified overlay information.
[Android.Runtime.Register("loadOverlay", "(Landroid/content/om/OverlayInfo;)Landroid/content/res/loader/ResourcesProvider;", "", ApiSince=34)]
public static Android.Content.Res.Loader.ResourcesProvider LoadOverlay (Android.Content.OM.OverlayInfo overlayInfo);
[<Android.Runtime.Register("loadOverlay", "(Landroid/content/om/OverlayInfo;)Landroid/content/res/loader/ResourcesProvider;", "", ApiSince=34)>]
static member LoadOverlay : Android.Content.OM.OverlayInfo -> Android.Content.Res.Loader.ResourcesProvider
Parameters
- overlayInfo
- OverlayInfo
is the information about the specified overlay
Returns
the resources provider instance for the overlayInfo
- Attributes
Remarks
Creates a ResourcesProvider instance from the specified overlay information.
In order to enable the registered overlays, an application can create a ResourcesProvider
instance according to the specified OverlayInfo
instance and put them into a ResourcesLoader
instance. The application calls android.content.res.Resources#addLoaders(ResourcesLoader...)
to load the overlays.
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.