Android近期任务列表APP图标修改

丶Chao 2019-03-12 09:08:50
跟着网上的教程做了个APP,我想修改APP的近期任务列表图标。
...全文
2616 9 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
空空似野 2021-03-09
  • 打赏
  • 举报
回复
引用 7 楼 Code-Cook的回复:
[quote=引用 5 楼 阳光矮人的回复:]啊这,我的也是任务列表没变,所有大小的图标都替换了,怎么办
请问你解决了吗[/quote] 手机没刷新过来,重启或者过段时间自己就会正常
slowhandwc 2021-02-04
  • 打赏
  • 举报
回复
https://stackoverflow.com/questions/27829625/android-use-a-different-icon-for-recent-apps 试下这个里面的解决方案。在BaseActivity的onCreate 加入如下代码。 Bitmap recentsIcon; // Initialize this to whatever you want String title; // You can either set the title to whatever you want or just use null and it will default to your app/activity name int color; // Set the color you want to set the title to, it's a good idea to use the colorPrimary attribute ActivityManager.TaskDescription description = new ActivityManager.TaskDescription(title, recentsIcon, color); this.setTaskDescription(description);
「已注销」 2021-01-07
  • 打赏
  • 举报
回复
引用 5 楼 阳光矮人的回复:
啊这,我的也是任务列表没变,所有大小的图标都替换了,怎么办
请问你解决了吗
「已注销」 2021-01-07
  • 打赏
  • 举报
回复
引用 4 楼 丶Chao的回复:
解决了,,问题在手机缓存没反应过来...
请问清除的是桌面的缓存吗
阳光矮人 2020-10-23
  • 打赏
  • 举报
回复
啊这,我的也是任务列表没变,所有大小的图标都替换了,怎么办
丶Chao 2019-03-12
  • 打赏
  • 举报
回复
解决了,,问题在手机缓存没反应过来...
丶Chao 2019-03-12
  • 打赏
  • 举报
回复
引用 1 楼 SemiraChen的回复:
AndroidManifeast.xml里面改applicatioin的icon
这个改过了,,近期任务列表图标还是没变过来。安装包图标,桌面图标都修改成功了。
usecf 2019-03-12
  • 打赏
  • 举报
回复
你把app的logo换了 这块应该也就换了
SemiraChen 2019-03-12
  • 打赏
  • 举报
回复
AndroidManifeast.xml里面改applicatioin的icon

80,472

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧