Quicknav
Quicknav
设计
开发
贡献
Android网站
Android社区
Android中文API
Android开源工程
支持
开发者支持
语言
中文(中国)
Español
日本語
한국어
Русский
English
关闭
样式
图案
控件
下载
Android开发训练
API 向导
参考
工具
获取 SDK
Google Play
Publishing
Promoting
Open Distribution
Results
Loading...
to top
API level:
Android APIs
Select a package to view its members
fullscreen
Use Tree Navigation
Use Panel Navigation
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
ClipboardSample.java
ExternalStorage.java
FileProvider.java
InstallApk.java
PickContact.java
ReadAsset.java
ResourcesLayoutReference.java
ResourcesSample.java
ResourcesSmallestWidth.java
ResourcesWidthAndHeight.java
StyledText.java