Reputation: 6258
I'm about to publish my first application. I created all the necessary icons, in my case the launcher icons and the status icons (which I only created for my app next versions updates).
But I am wondering where the status icons names are set. I mean, the launcher icon name is set in the Manifest file this way :
android:icon="@drawable/ic_launcher"
so is there a similar place to set the status icon name?
Thanks in advance!
Upvotes: 0
Views: 2739
Reputation: 136
I'm pretty sure you explicitly set the icon when you make a notification. So:
int icon = R.drawable.notification_icon;
CharSequence tickerText = "Your Text";
long when = System.currentTimeMillis();
Notification notification = new Notification(icon, tickerText, when);
This was taken directly from http://developer.android.com/guide/topics/ui/notifiers/notifications.html
Upvotes: 2