Stay organized with collections
Save and categorize content based on your preferences.
android
Contains resource classes used by applications included in the platform and defines application
permissions for system features.
You can use some resources directly from these R
classes in your own
applications, but you should generally use only resources that you've provided directly in your
application, in order to provide a cohesive application package that has no external dependencies.
In particular, you should not use drawable resources from the android
package, because they
may change between platform versions, causing unforeseen conflicts with your design. Typically,
styles
are the only resources you should use directly from these
resources.
For information about using resources, see the Application Resources developer guide.
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-04 UTC."],[],[]]