---
title: "备用资源目录"
author: "ashnl007"
date: "2014-09-26T16:09:59Z"
tags: []
categories: ["移动开发"]
slug: "untitled"
draft: false
lastmod: "2014-09-26T16:09:59Z"
id: 2122735
url: "https://ashnl007.iteye.com/blog/2122735"
---

mccAAA：AAA是移动设备国家代码

mncAAA：AAA是运营商/网络代码

en-rUS：语言和区域

small、normal、large、xlarge：屏幕大小

long、notlong：屏幕类型

port、land：纵向或横向

car、desk：扩展坞类型

night、notnight：晚上、白天

ldpi、mdpi、hdpi、xhdpi、nodpi：屏幕像素密度

nottouch、stylus、finger：屏幕种类

keysexposed、keyssoft、keyshidden：键盘种类

nokeys、qwerty、12key：键数

navexposed、navhidden：隐藏、显示导航键

nonav、dpad、trackball、wheel：导航设备类型

v3、v4、v7：api级别

例如：

\\res\\layout\\main.xml

\\res\\layout-port\\main.xml

\\res\\layout\\-portmain.xml

这3个布局文件在R.java中只会生成一个布局ID ：R.java.main