如何通过 titanium appcelerator 将徽章添加到操作栏菜单项?

How to add badge to action bar menu item by titanium appcelerator?

我想通过 titanium appcelerator 向 android 操作栏菜单项添加徽章 怎么做?

您需要一个基于此 https://github.com/mikepenz/Android-ActionItemBadge

的 Titanium 模块

经过大量挖掘和搜索,我终于找到了答案。

你只需要放徽章actionView