Questions tagged [statusbar]

A status bar is an area typically found at the bottom of Graphical User Interfaces that provide information about the computer, the application or other applications.

2434 questions
57
votes
5 answers

How can I create a bar in the bottom of a Java app, like a status bar?

I am in the process of creating a Java app and would like to have a bar on the bottom of the app, in which I display a text bar and a status (progress) bar. Only I can't seem to find the control in NetBeans neither do I know the code to create in…
Naxels
  • 1,725
  • 2
  • 14
  • 19
50
votes
3 answers

How can I change vim status line color?

I'm tring to change vim's status line color by editing my .vimrc . By using the command au, I tried to change the color of the status line when entering or leaving insert mode; by using this command nothing happens: hi StatusLine…
gcali
  • 1,178
  • 1
  • 16
  • 26
49
votes
14 answers

Is there a way to change the Android status bar color with React Native?

I just got started with React Native for Android, and I'm trying to figure out if there's a way to change the status bar color for Android... Like this?
russjr08
  • 881
  • 1
  • 8
  • 16
48
votes
12 answers

how do I properly change my status bar style in swift 2/ iOS 9?

I'm attempting to change my status bar's style to .Light but the previous code I implemented in swift 1.2 seems not to work anymore.. here's the code: override func viewDidLoad() { super.viewDidLoad() …
John Jackson
  • 900
  • 2
  • 12
  • 28
45
votes
14 answers

Status Bar showing black text, only on iPhone 6 iOS 8 simulator

I'm trying to convert my iOS 7 app to iOS 8 in Xcode 6 GM, and when i run it on the iPhone 5s or lower simulators with iOS 8 everything is fine, but on the iPhone 6 and 6 Plus simulators, the Status Bar has black text instead of white like it is…
Mohamed Hafez
  • 8,621
  • 7
  • 41
  • 49
44
votes
9 answers

UIApplication.sharedApplication().setStatusBarStyle() deprecated in iOS 9

I have been using UIApplication.sharedApplication().setStatusBarStyle() In my appDelegate and it has worked fine, but since iOS 9, this method is deprecated and I can't find an alternative. I want to change the statusbar style to .LightContent for…
Rick
  • 3,168
  • 3
  • 17
  • 16
44
votes
5 answers

IOS7 Status bar hide/show on select controllers

I would like to show and hide the Status bar on some controllers. Can this be done or is it more of an overall app setting. I have seen many posts/questions about the plist update: View controller-based status bar appearance - NO If this is…
StuartM
  • 6,743
  • 18
  • 84
  • 160
43
votes
5 answers

setStatusBarHidden(_:withAnimation:) deprecated in iOS 9

I see that in iOS 9 setStatusBarHidden(_:withAnimation:) is now deprecated and the documentation says to use [UIViewController prefersStatusBarHidden] instead but what is the alternative in iOS 9 if I still want to hide the status bar with a slide…
jacobsieradzki
  • 1,108
  • 2
  • 10
  • 32
42
votes
10 answers

How to change Status Bar and App Bar color in Flutter?

I'm trying to change the color of the system status bar to black. The configuration seems to be overridden by the AppBar class. I can achieve what I want by assigning the theme: to ThemeData.dark() when creating the Material App, and then specifying…
8oh8
  • 1,247
  • 5
  • 19
  • 35
41
votes
11 answers

Status Bar Color not showing - 5.0 Lollipop Android Studio: (AppCompat-v7:r21)

I'm using the AppCompat-v7:21.0.0 support library for Android 5.0 Lollipop in Android Studio. My problem is that the Status Bar Color that can be changed by setting colorPrimaryDark in the values/styles.xml file, is showing up as black, in both the…
38
votes
9 answers

How to make StatusBar transparent?

Does anyone know a way to make Android Status Bar transparent with React Native? NOT TRANSLUCENT, Transparent. I am using react-navigation too.
Giorgos Kartalis
  • 874
  • 1
  • 7
  • 14
37
votes
3 answers

How does Apple update the Airport menu while it is open? (How to change NSMenu when it is already open)

I've got a statusbar item that pops open an NSMenu, and I have a delegate set and it's hooked up correctly (-(void)menuNeedsUpdate:(NSMenu *)menu works fine). That said, that method is setup to be called before the menu is displayed, I need to…
Aaron
  • 4,634
  • 1
  • 27
  • 43
37
votes
12 answers

How to hide the status bar programmatically in iOS 7?

In ios7, how can I hide the statusbar programmatically? I am using XCode 4.6.1 (ios6.1) and I want to implement this in XCode itself.
Magesh
  • 685
  • 2
  • 7
  • 15
36
votes
4 answers

Check whether status bar is hidden or visible

I want to check condition for statusbar. How can i check condition if status bar is visible or not . please anyone guide me to do this.. Thank you all
Prajan
  • 666
  • 1
  • 6
  • 15
36
votes
3 answers

Android 4.4 translucent Status and Navigation bars style on Android 5.0

On Android 4.4 KitKat you can set the Status and Navigation bars transparent with the android:windowTranslucentStatus and android:windowTranslucentNavigation theme elements, and then below the bars the app window is extended and a gradient is added.…
AxeEffect
  • 6,345
  • 4
  • 37
  • 33