to top
Android APIs
Sample Code >

content - API Demos

← Back

Resources

External Storage
Demonstrates reading and writing files in external storage.
Styled Text
Demonstrates loading styled text (bold, italic) defined in a resource file.
Resources
Demonstrates loading styled strings from a resource file, and extracting the raw text.
Resources Layout Reference
Shows how to make references between resources; this examples shows how this can be used to define multiple configurations for a layout resource that reference the same layout XML.
Resources Smallest Width
Shows how you can vary a layout resource based on the device's smallest width configuration
Resources Width and Height
Shows how you can vary a layout resource based on the device's current width dp and height dp configurations.

Files