Android多语言布局layout
16lz
2021-12-04
1. 定义某种具体的语言资源layout
eg: layout-ar
2. 同意放在layout-ldrtl目录
eg: layout-ldrtl
3. android:supportsRtl属性
eg:Activity/Application标签android:supportsRtl="true"
4. android:layoutDirection属性
eg:view布局中android:layoutDirection="rtl"
5.优先级
layout-ar(语言级别) > layout-ldrtl > layout-800*540(分辨率)
更多相关文章
- android:screenOrientation属性(转)
- 横竖屏切换 android:screenOrientation属性
- android相对布局
- Android相对布局属性
- Android(安卓)xml资源文件中@、@android:type、@*、?、@+含义和区
- 安卓开发笔记(三)android 相对布局属性
- android布局属性
- Android中layout属性大全
- android 中margin,padding,border的区别