app resources
文章平均质量分 91
OnePieceMan
这个作者很懒,什么都没留下…
展开
-
Android API Guides 之 App Resources(14) - Resource Types - More Type
More Resource TypesThis page defines more types of resources you can externalize, including:BoolXML resource that carries a boolean value.ColorXML resource that carries a color value (a hexade原创 2014-04-06 10:50:07 · 694 阅读 · 0 评论 -
Android API Guides 之 App Resources(9) - Resource Types - Drawable
Drawable ResourcesSEE ALSO2D GraphicsA drawable resource is a general concept for a graphic that can be drawn to the screen and which you can retrieve with APIs such asgetDrawabl原创 2014-04-06 10:42:10 · 617 阅读 · 0 评论 -
Android API Guides 之 App Resources(1) - Overview
Resources OverviewTOPICSProviding ResourcesAccessing ResourcesHandling Runtime ChangesLocalizationREFERENCEResource TypesYou should always externalize resources such as i原创 2014-04-06 10:11:08 · 538 阅读 · 0 评论 -
Android API Guides 之 App Resources(2) - Providing Resources
Providing ResourcesQUICKVIEWDifferent types of resources belong in different subdirectories of res/Alternative resources provide configuration-specific resource filesAlways include def原创 2014-04-06 10:12:53 · 619 阅读 · 0 评论 -
Android API Guides 之 App Resources(3) - Accessing Resources
Accessing ResourcesQUICKVIEWResources can be referenced from code using integers fromR.java, such asR.drawable.myimageResources can be referenced from resources using a special XML syn原创 2014-04-06 10:14:51 · 666 阅读 · 0 评论 -
Android API Guides 之 App Resources(5) - Localizing with Resources
Localizing with ResourcesQUICKVIEWUse resource sets to create a localized app.Android loads the correct resource set for the user's language and locale.If localized resources are not a原创 2014-04-06 10:19:02 · 595 阅读 · 0 评论 -
Android API Guides 之 App Resources(6) - Resource Types
Resource TypesSEE ALSOProviding ResourcesAccessing ResourcesEach of the documents in this section describe the usage, format and syntax for a certain type of application resource原创 2014-04-06 10:21:55 · 456 阅读 · 0 评论 -
Android API Guides 之 App Resources(11) - Resource Types - Menu
Menu ResourceSEE ALSOMenusA menu resource defines an application menu (Options Menu, Context Menu, or submenu) that can be inflated with MenuInflater.For a guide to using menus原创 2014-04-06 10:45:16 · 609 阅读 · 0 评论 -
Android API Guides 之 App Resources(12) - Resource Types - String
String ResourcesA string resource provides text strings for your application with optional text styling and formatting. There are three types of resources that can provide your application with原创 2014-04-06 10:47:13 · 596 阅读 · 0 评论 -
Android API Guides 之 App Resources(10) - Resource Types - Layout
Layout ResourceSEE ALSOLayoutsA layout resource defines the architecture for the UI in an Activity or a component of a UI.FILE LOCATION:res/layout/filename.xmlThe filename wi原创 2014-04-06 10:43:28 · 616 阅读 · 0 评论 -
Android API Guides 之 App Resources(7) - Resource Types - Animation
Animation ResourcesIN THIS DOCUMENTProperty AnimationView AnimationTween animationFrame animationSEE ALSOView AnimationProperty AnimationAn animation resource can d原创 2014-04-06 10:23:45 · 578 阅读 · 0 评论 -
Android API Guides 之 App Resources(8) - Resource Types - Color
Color State List ResourceSEE ALSOColor (simple value)A ColorStateList is an object you can define in XML that you can apply as a color, but will actually change colors, dependi原创 2014-04-06 10:25:23 · 606 阅读 · 0 评论 -
Android API Guides 之 App Resources(4) - Handling Runtime Changes
Handling Runtime ChangesIN THIS DOCUMENTRetaining an Object During a Configuration ChangeHandling the Configuration Change YourselfSEE ALSOProviding ResourcesAccessing Reso原创 2014-04-06 10:17:08 · 557 阅读 · 0 评论 -
Android API Guides 之 App Resources(13) - Resource Types - Style
Style ResourceSEE ALSOStyles and ThemesA style resource defines the format and look for a UI. A style can be applied to an individual View (from within a layout file) or to an原创 2014-04-06 10:48:38 · 492 阅读 · 0 评论