共 3 篇文章 |
|
Resources and Internationalization | Android ...All such resources are defined under the class "android.R".MyApp/res/drawable/ MyApp/res/drawable-en/ MyApp/res/drawable-fr-rCA/ MyApp/res/drawable-en-port/ MyApp/res/drawable-en-notouch-12key/ MyApp/res/drawable-port-ldpi/ MyApp/res/drawable-port-notouch-12key... 阅643 转4 评0 公众公开 09-12-01 16:17 |
Resource source file location: res/values/dimens.xml (File name is arbitrary, but standard practice is to put all dimensions in one file devoted to dimensions.)One resource per file.Source file format: XML file, one resource per file, one root tag with no <?Source file format: XML file, one resource per file, one r... 阅755 转2 评0 公众公开 09-12-01 16:08 |
When you write your application, you create default and alternate resources for your application to use.For example, if the application has French strings in res/values-fr/ but does not have any Spanish strings in res/values-es/, then set the emulator''s locale to Spanish. (You can use the Custom Locale applic... 阅670 转2 评0 公众公开 09-12-01 16:04 |