徽章在Android TabHost [英] Badge on Android TabHost
本文介绍了徽章在Android TabHost的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想实现iPhone一样在那里的功能
I want to implement the functionality same as was there in iPhone
我实现了自定义Tabhost在底栏相同的iPhone。我可以设置 两个图标:普通/选定状态,但我需要动态图标与数 通知作为在图像定
I implemented the custom Tabhost same as in iPhone in the bottom bar. I can set two Icons for Normal/Selected state but I need the dynamic icon with number of notifications as given in Image.
感谢
推荐答案
Android的ViewBadger 可能是您的解决方案。 (仅供参考,我还没有实现它)
Android ViewBadger may be the solution for you. (FYI, i haven't implemented it yet)
下面是你可以通过这个解决方案的输出单元:
Here is the snap you can have as an output by this solution:
这篇关于徽章在Android TabHost的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文