我们可以像 iPhone 一样在 Android 应用程序图标上显示徽章编号吗?
我只是想知道我们可以在 Android 应用程序图标中显示徽章编号吗?
我知道 Android 通知与 Iphone 不同,但我想在我的 Android 应用程序中执行此操作。
这适用吗?
感谢您的回答。
Possible Duplicate:
Is there a way to add a badge to an application icon in Android?
I just wanted to know that can we show the badge number in Android app Icon?
I know that android notifications are different then Iphone but i want to do in my android app.
Is that applicable?
Thanks for your answer.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我想我们能做到。检查这个问题Android TabHost 上的徽章。接受的答案是指此代码 https://github.com/jgilfelt/android-viewbadger
编辑我还没有尝试过。检查这个问题。 有办法吗在 Android 中向应用程序图标添加徽章?
I think we can do it. check this question Badge on Android TabHost. the accepted answers refers to this code https://github.com/jgilfelt/android-viewbadger
Edit i haven't tried yet. check this question. Is there a way to add a badge to an application icon in Android?
您只能通过创建小部件而不是应用程序图标来做到这一点。请参阅此问题了解更多信息。
You can do it only by creating widget instead app icon. Look this question for more info.