Questions tagged [android-statusbar]

The status bar located on the top of the Android device screen. It displays system status icons and notification icons.

The status bar is the Android device screen area dedicated to the display of notifications, communication of device status. It displays pending notifications on the left and status, such as time, battery level, or signal strength, on the right. Swiping down from the status bar shows notification details.

This tag is to be used with tag.

392 questions
4
votes
1 answer

Hidden statusBar re-appears when I show an alert dialog, How to prevent it? (Android)

I am using Android studio, and I have set up my main Activity in order to not show the statusBar. But when I display an alert dialog, the status bar reapears, and it won't hide after. (Also if I receive a notfication on my phonem the status bar will…
KJ Newtown
  • 328
  • 1
  • 16
4
votes
3 answers

Android: How to set status bar and navigation bar semi transparent

In some applications I noticed that the status bar and navigational bar are transparent however, not completely. I do not know if this is a background color or something else. Would someone tell me how to implement this? Thank you.
4
votes
0 answers

CollapsingToolbarLayout: statusBarScrim for expanded state?

I'd like to use a CollapsingToolbarLayout to achieve an effect as in the following image: To accomplish this, I first tried to set the status bar background color to a 30% opacity black in my theme. This works fine for the expanded state and…
bennofs
  • 11,873
  • 1
  • 38
  • 62
4
votes
2 answers

Android full screen dialog fragment like calendar app

I am trying to achieve a full-screen dialog like the below image. I am able to show a full screen dialog but when the dialog is shown the status bar color changes to black and does not keep the primary-dark color. Heres my dialog fragment public…
4
votes
1 answer

Hide Navigation Bar, Status Bar and Toolbar on tap

I was wondering how to hide the Status Bar, Navigation Bar and Toolbar from Android when the user taps the screen, as seen in QuickPick app: I have made a lot of research but I can't find or guess how to accomplish that behaviour, can someone…
4
votes
1 answer

How set dynamically small icon notification

How set dynamically small icon notification in status bar? Notification.Builder.setSmallIcon(int icon) this code set static icon from Resources. Need set icon dynamically Example Icons temperatures changes dynamically Help please.
4
votes
1 answer

Remove shadow from status bar android

I've used the following in my style to make the status bar transparent: