Android应用开发之国际化
2012-02-29 17:59
417 查看
布局 main.xml
values-zh
values-en
values-en-rUS
Layout-320x240
Layout-480x320
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/hello" /> <ImageButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/exit"/>
字符串国际化
values-zh
<string name="hello">你好!</string> <string name="app_name">国际化</string>
values-en
<string name="hello">Hello World, I18nActivity!</string> <string name="app_name">I18n</string>
values-en-rUS
<string name="hello">Hello World, I18nActivity!,US</string> <string name="app_name">I18n</string>
图片国际化
屏幕适配
Layout-320x240
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="320x240" />
Layout-480x320
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="480x320" />
相关文章推荐
- 【Android应用开发技术:用户界面】Android应用的本地化和国际化
- Android 应用开发支持不同的语言国际化操作
- 【Android 应用开发】Android应用的自动更新模块
- Android应用开发学习笔记
- Android应用开发工程师技术栈
- Android应用开发中的风格和主题(style,themes)
- Android入门前言(一)之------Android应用开发入门五问
- Android开发应用框架的搭建步骤及注意事项
- 【Android应用开发技术:网络通信】网络服务可发现应用接口
- android应用开发-从设计到实现 2-6 动画效果
- Android应用开发的基本概念(入门)
- Android移动应用开发初步——关于android studio的使用
- 【Android 应用开发】BluetoothDevice详解
- android应用开发MVC框架(一)
- Android开发学习笔记(二)我的第一个Android应用
- Android应用百度地图开发定位的问题,新手求大神帮忙看下
- Basic4android:多功能的Android应用软件快速开发平台
- 用C/C++开发android应用
- 【Android 应用开发】BluetoothSocket详解