public class

XModuleResources

extends Resources
java.lang.Object
   ↳ android.content.res.Resources
     ↳ android.content.res.XModuleResources

Class Overview

Provides access to resources from a certain path (usually the module's own path).

Summary

Public Methods
static XModuleResources createInstance(String path, XResources origRes)
Creates a new instance.
XResForwarder fwd(int id)
Creates an XResForwarder instance that forwards requests to id in this resource.
[Expand]
Inherited Methods
From class android.content.res.Resources
From class java.lang.Object

Public Methods

public static XModuleResources createInstance (String path, XResources origRes)

Parameters
path The path to the APK from which the resources should be loaded.
origRes The resources object from which settings like the display metrics and the configuration should be copied. May be null.

public XResForwarder fwd (int id)

Creates an XResForwarder instance that forwards requests to id in this resource.