Take the 2-minute tour ×

I want to create notification like here:


Red circle = icon which is always visible. Blue circle = icon that is visible only when you expand.

How do I make such a red circle notification?

must I create 100 images or can I use custom notification like text? Can i join two images together?

I found this:


Custom notification layouts and text colors

but i still don't know how to create this red circle. With this i know how to create blue circle but this i don't need. I am not creating battery!

any ideas?

share|improve this question
Did you try to use shapes? And so, create the layout with shapes? –  Neto Marin Dec 17 '12 at 19:55
@Neto Marin sharpes? not yet. Do you have any example or howto? Thanks –  mbrc Dec 17 '12 at 20:08

1 Answer 1

up vote 3 down vote accepted

The only text that you can put in the notification area/status bar ("red circle") is ticker text, which disappears after it's displayed (setTicker). The purpose of that area is to remind users that a notification is outstanding, using the small icon (setSmallIcon). You could make 100 different icons, one for each percentage, but then you would not be using Android's standard design guidelines for notifications.

I suggest that if you want a battery indicator, use 5 battery icons. One icon would be a "full" battery, along with 1 each for 75%, 50%, 25%, and "very low" (in red). I suspect that most users don't need to see exactly how much battery they have left in the status bar. You can then show the exact numbers and estimated time remaining in the full notification.

share|improve this answer

Your Answer


