Android应用图标
2016-06-24 12:46
417 查看
图标位置:app——>res——>mipmap——>ic_launcher.png
hdpi:高分辨率
mdpi:低分辨率
图标的尺寸: 48px、72px、96px、144px、192px
在app——>manifests下的AndroidManifest.xml中修改即可
hdpi:高分辨率
mdpi:低分辨率
图标的尺寸: 48px、72px、96px、144px、192px
在app——>manifests下的AndroidManifest.xml中修改即可
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.moliwei.myapplication"> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" //这个就是指定icon的代码,不需要修改或者改成你想要的文件的名字,记住图片的后缀为png android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme"> <activity android:name=".MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest>
相关文章推荐
- ANDROID版本号和版本名称的重要性介绍
- Android 自定义View(四) 时钟clockView
- Android viewpager实现无限循环轮播
- Unable to execute dex: Multiple dex files define 错误解决方法
- android6.23 locate定位服务
- Android开源工具项目集合
- Android加密工具--APKProtect的使用
- 自定义控件——边缘凹凸的优惠券效果
- Timber 经典的android Log封装库
- android数据存储—SQLite
- android 获取第三方应用程序包名并启动
- android中Webview与javascript的交互(互相调用)
- Android使用上下文菜单ContextMenu
- 离线安装Chrome插件
- Android:dagger2让你爱不释手-终结篇
- Android:dagger2让你爱不释手-重点概念讲解、融合篇
- Android studio more than one library with package name 'xxx.xxx.mylibrary'
- Android:dagger2让你爱不释手-基础依赖注入框架篇
- Android studio编译问题
- 用Dagger2在Android中实现依赖注入