Class ResourceIds


  • public class ResourceIds
    extends Object
    Utility class to that checks if a resource ID is a framework resource or application resource.
    • Constructor Detail

      • ResourceIds

        public ResourceIds()
    • Method Detail

      • isFrameworkResource

        public static boolean isFrameworkResource​(int resId)
      • getPackageIdentifier

        public static int getPackageIdentifier​(int resId)
      • getTypeIdentifier

        public static int getTypeIdentifier​(int resId)
      • getEntryIdentifier

        public static int getEntryIdentifier​(int resId)
      • makeIdentifer

        public static int makeIdentifer​(int packageIdentifier,
                                        int typeIdentifier,
                                        int entryIdenifier)