android 图标和图片位置,drawable or mipmap?
2016-02-01 14:46
169 查看
drawable-<density>/
Directories for drawable resources, other than launcher icons, designed for various densities.
大概意思是,除了应用图标意外,其他的图片都要放在drawable文件夹下
layout/
Directory for files that define your app's user interface like
activity_my.xml, discussed above, which describes a basic layout for the
MyActivityclass.
menu/
Directory for files that define your app's menu items.
mipmap/
Launcher icons reside in the
mipmap/folder rather than the
drawable/folders. This folder contains the
ic_launcher.pngimage that appears when you run the default app.
大概意思是:应用图标只放在mipmap文件夹下,而不是drawable
values/
Directory for other XML files that contain a collection of resources, such as string and color definitions.
后来查资料,说放在mipmap文件夹的应用图标,会进行特别优化。但是,感觉这么大手笔,这个文件夹只放一个图标,有点杀鸡用牛刀的感觉呢。
相关文章推荐
- android 弹性ScrollView
- Android-86需 在如下几个方向做提升
- android studio打jar包
- Android 四大核心组件之Activity
- 源码解析Android中View的measure量算过程
- Android-彻底理解文件存储
- assets文件夹资源的访问
- 阅读《Android 从入门到精通》(20)——图片视图
- assets文件夹资源的访问
- Android的消息循环机制 Looper Handler类分析
- Android ToolBar 基本使用
- android键盘监听方案
- Android 自定义View之柱状图实践
- android notification 使用
- android 处理图片之--bitmap处理
- Android6.0 按键流程(五)无线鼠标右键无效 -- hal层
- 【MIG专项测试组】如何准确评测Android应用的流畅度?
- android listview多视图嵌套多视图
- Android-StrictMode-性能优化
- android之自定义控件