• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Icon wider than 24p on status bar?

UXWarrior

Lurker
Hi, can an Android app produce an icon wider than 24p on the status bar?
Or can it show some text on the status bar?

I would love to show in the status bar either:
  • An icon wider than 24p (so that I can fit in text like "1h29m left!")
  • Text, e.g. "You have 1h29m left!"
It'll be a deadlining app. There is an ongoing notification that refreshes the remaining time every minute - it would be great if the remaining time could be displayed straight away on the status bar so that the user can view it at all times - without the need to swipe down to see the notification bar every time. 24p is too narrow.

Thanks a lot!
 
Last edited:
Maybe you can use two icons with differen notification ids.
Or you can make small textview, which dispalys under status bar. This can be done via WindowManager.addView and with type - TYPE_SYSTEM_OVERLAY
 
Back
Top Bottom