public class ResourceIds extends Object
Utility class to that checks if a resource ID is a framework resource or application resource.
Constructor and Description |
---|
ResourceIds() |
Modifier and Type | Method and Description |
---|---|
static int |
getEntryIdentifier(int resId) |
static int |
getPackageIdentifier(int resId) |
static int |
getTypeIdentifier(int resId) |
static boolean |
isFrameworkResource(int resId) |
static int |
makeIdentifer(int packageIdentifier,
int typeIdentifier,
int entryIdenifier) |
public static boolean isFrameworkResource(int resId)
public static int getPackageIdentifier(int resId)
public static int getTypeIdentifier(int resId)
public static int getEntryIdentifier(int resId)
public static int makeIdentifer(int packageIdentifier, int typeIdentifier, int entryIdenifier)