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.
Questions tagged [statusbar]
2321 questions
56
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…
Paintrick
- 1,615
- 2
- 13
- 18
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
- 818
- 1
- 9
- 20
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,151
- 6
- 38
- 49
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,943
- 16
- 76
- 142
43
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
- 988
- 1
- 14
- 25
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
- 27
42
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,037
- 2
- 15
- 16
40
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…
Adifyr
- 2,350
- 6
- 35
- 55
37
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
- 2,879
- 3
- 31
- 32
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
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,624
- 1
- 24
- 43
36
votes
5 answers
Moving status bar in iOS 7
The problem I'm facing is this:
I want to implement an iOS 7 app with nice design and left/right menu, which appears after the main view animate itself to the right/left. I'm doing this with [UIView animateWithDuration...] code, but that's not…
Gyfis
- 1,184
- 1
- 14
- 33
35
votes
7 answers
Using windowTranslucentStatus with CollapsingToolbarLayout
I'm trying to get a similar effect to what is seen on google play.
I've got the below layout to show a transparent toolbar with an image behind it. When the user scrolls there is a parallax effect on the imageview as it scrolls off the screen. The…
Stimsoni
- 3,016
- 2
- 25
- 21
35
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
- 645
- 2
- 6
- 15
34
votes
5 answers
IOS 4.3 hide status bar permanently
I'm trying to hide the status bar in iOS 4.3 now that setStatusBarHidden:animated: is deprecated:
[[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO]; //deprecated
The only option that exists in the plist file is: Status bar is…
user346443
- 4,338
- 13
- 53
- 75