[英]Change application/window label and icon without change of launcher shortcut
棒棒糖添加了TaskDescription
类: https : //developer.android.com/reference/android/app/ActivityManager.TaskDescription.html
在任何活动中,您都可以编写如下内容:
ActivityManager.TaskDescription description =
new ActivityManager.TaskDescription("test", null, 0xff0000ff);
setTaskDescription(description);
一些注意事项:
null
将保留默认图标。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.