在状态栏和状态通知(正在进行)中创建动态更改图标

时间:2012-09-01 11:18:57

标签: android user-interface android-notifications

我想创建动态更改/动画图标,这些图标将显示在状态栏和android中的通知中。 以下是一些可以澄清我想要的例子:

enter image description here

enter image description here

在上面的例子中,状态栏左侧的第二个图标随时间变化!我想在我的应用程序中添加类似的功能,但我无法弄清楚如何做到这一点。

另外请告诉我应该制作的图像图标的尺寸是什么?

1 个答案:

答案 0 :(得分:1)

如果要在android中更新通知,可以使用此链接: http://developer.android.com/guide/topics/ui/notifiers/notifications.html#Updating

如果你想拥有Android动画通知,请看这个问题: Animation in Notification bar Custom View