Status bar colour

hi all
having read the odd thread on the matter, it appears that the status bar will always be visible, unless the app developer uses an "immersive mode" (http://talk.sonymobile.com/t5/Xperia-Z3-Compact/Status-notification-bar-is-always-on-screen/m-p/9831...)
I do find what appears to be a intrusive blue background though for the status bar in most apps, when the status bar isn't hidden.
However, I've noted an occasional status bar, which hasn't this hideous blue background and even the odd one which seems to have a transparent background (or just the colour of the app).
I'm assuming the blue default background is defined by the OS/OS theme?
If so, cannot the OS detect the colour of the app and match it, so it's less painful on the eyes?
Regards,
Gary

http://www.google.com/design/spec/components/tabs.html#tabs-specs
http://stackoverflow.com/questions/27093287/how-to-change-status-bar-color-to-match-app-in-lollipop-...
"I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

Similar Messages

  • How to save status bar background color in local settings(Windows Phone 8.1)

    I have given the user the freedom to change background colour and save it in local settings. But I am confused on how to save the status bar colour settings because I want to give the user the freedom to choose from 4-5 colours where background of status bar
    can be changed.
    public static void SaveStatusBarColor()
    // get status bar color
    var statusBar = StatusBar.GetForCurrentView();
    var color = statusBar.BackgroundColor;
    // convert color to hex string
    var hexCode = color.HasValue ? color.Value.ToString() : "";
    // store color in local settings
    ApplicationData.Current.LocalSettings.Values["StatusBarColor"] = hexCode;
    public static void LoadStatusBarColor()
    // get color hex string from local settings
    var hexCode = ApplicationData.Current.LocalSettings.Values["StatusBarColor"] as string;
    if (string.IsNullOrEmpty(hexCode))
    return;
    // convert hexcode to color
    var color = new Color();
    color.A = byte.Parse(hexCode.Substring(1, 2), NumberStyles.AllowHexSpecifier);
    color.R = byte.Parse(hexCode.Substring(3, 2), NumberStyles.AllowHexSpecifier);
    color.G = byte.Parse(hexCode.Substring(5, 2), NumberStyles.AllowHexSpecifier);
    color.B = byte.Parse(hexCode.Substring(7, 2), NumberStyles.AllowHexSpecifier);
    // set the status bar color
    var statusBar = StatusBar.GetForCurrentView(); // Exception Line
    statusBar.BackgroundColor = color;
    }This is what was suggested to me. Initially the app runs and saves the settings.But when the app is closed and restarted again it crashes.

    Hi shriyansh,
    Where did you call the method SaveStatusBarColor() and LoadStatusBarColor()?
    I have called your SaveStatusBarColor() in the OnNavigatedFrom method and called the LoadStatusBarColor() in the OnNavigatedTo method, it worked very well in my side.
    So I can not reproduce your issue.
    Here are my code and result, please try to check it:
    public class test
    public Color colors { get; set; }
    public sealed partial class MainPage : Page
    List<test> testdemo = new List<test>();
    public MainPage()
    this.InitializeComponent();
    testdemo.Add(new test() { colors = Colors.Red });
    testdemo.Add(new test() { colors = Colors.Green});
    testdemo.Add(new test() { colors = Colors.Gray});
    testdemo.Add(new test() { colors = Colors.Blue });
    this.NavigationCacheMode = NavigationCacheMode.Required;
    public static void SaveStatusBarColor()
    // get status bar color
    var statusBar = StatusBar.GetForCurrentView();
    var color = statusBar.BackgroundColor;
    // convert color to hex string
    var hexCode = color.HasValue ? color.Value.ToString() : "";
    // store color in local settings
    ApplicationData.Current.LocalSettings.Values["StatusBarColor"] = hexCode;
    public static void LoadStatusBarColor()
    //get color hex string from local settings
    var hexCode = ApplicationData.Current.LocalSettings.Values["StatusBarColor"] as string;
    if (string.IsNullOrEmpty(hexCode))
    return;
    // convert hexcode to color
    var color = new Color();
    color.A = byte.Parse(hexCode.Substring(1, 2), NumberStyles.AllowHexSpecifier);
    color.R = byte.Parse(hexCode.Substring(3, 2), NumberStyles.AllowHexSpecifier);
    color.G = byte.Parse(hexCode.Substring(5, 2), NumberStyles.AllowHexSpecifier);
    color.B = byte.Parse(hexCode.Substring(7, 2), NumberStyles.AllowHexSpecifier);
    var statusBar = StatusBar.GetForCurrentView();
    statusBar.BackgroundColor = color;
    statusBar.BackgroundOpacity = 1;
    protected override void OnNavigatedTo(NavigationEventArgs e)
    LoadStatusBarColor();
    protected override void OnNavigatedFrom(NavigationEventArgs e)
    SaveStatusBarColor();
    private void ChangeColorButton_Click(object sender, RoutedEventArgs e)
    var statusBar = StatusBar.GetForCurrentView();
    statusBar.BackgroundColor = testdemo[Convert.ToInt32(Mytextbox.Text)].colors;
    statusBar.BackgroundOpacity = 1;
    The result:
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Colours of the status bar in bridge for mac

    hey, can anyone tell me what the colours of the storage status bar at the top of the bridge window mean? which colour stands for wich type of file? why doesn't sony give a legend?!

    Hi simonwf!
    I will contact the development crew ask them about the color and also take up the problem with legends.
    As soon as I have an answer I will write back to you here.
    Best regards
    Fredrik

  • Status bar, RGB colour as 0-255

    Is there a way to show RGB values as 0-255 rather than percentages in the status bar? The RGB option displays floating point numbers, then there's percentatge and HSV options only in the prefs.

    If you have a really good reason to do so (otherwise, just for fun) you can build the ability in a project.
    Here's an example:
         http://sight-creations.com/fxexchange/RGB_0-255_demo.zip
    You can drag the RGB 0-255 group to your Favorites folder in the Motion Library for reuse.
    All it is, basically, is 3 number generators (animation turned off) linked to the red, green, and blue color values and scales these to 2.55 times their value. The way Numbers works is the value will be 100 times what you might expect (you can choose different display types -- my preference was Hexadecimal -- aka HTML color).
    It's not that difficult to retrain yourself to see number values as decimals or percentages. The range 0 to 255 comes from the Hexadecimal representations translated as base10 values. It really doesn't matter what the "counting" system is, the 3 values represent magnitudes and RGB color is relative to the combination of magnitudes (including saturation and brightness). If any one of the 3 values is 0, the saturation is 100%. All 3 values equal to each other, the saturation is 0%. All colors are the combination of any 2 values with the third value "contributing" to the desaturation (or 1 value and the other 2 equal to each other contributing to desaturation). The maximum of any of the 3 values determines the brightness. If you know your color wheel, that pretty much covers it.

  • Dstatus - dwm status bar

    Hey guys,
    for quite some time I've been working on dstatus for my own desktop. To share and improve dstatus I'd like to introduce it to the ArchLinux community now. dstatus is a small but expandable status application designed for use with dwm. While it certainly doesn't fit the suckless approach due to its use of plugins it now works rather nice.
    Features:
    - dstatus features a plugin system. This makes it easy to add new plugins that add information not accessible right now.
    - dstatus features groups. Groups bind together parts of your status line. If a dynamic part of that group becomes undisplayable (muted volume for example) the whole group will be hidden.
    - dstatus' format can be configured via config.h. It's syntax is described in the project's README.
    - dstatus' plugins can be configured via config.mk. It enables to exclude certain plugins from compilation and installation
    Currently there aren't many plugins, just some basic stuff for time, volume, mpd and battery. I'd be happy to accept contributions for new plugins.
    If you're interested compile and try this small application and provide some feedback. The project can be found at Bitbucket.
    Here's a link to the dstatus AUR package.
    Regards,
    Patrick
    Last edited by pks (2013-06-06 17:15:03)

    mauritiusdadd wrote:
    derrickcope wrote:What I am asking is shouldn't it be able to do it already without patching? Bash can output color so why do I have to patch?
    No. Bash can show colours because it can parse and interpret the escape sequences. Dwm code lacks of that feature and for this reason you have to apply a patch.
    Thanks, that's what I was asking. If xsetroot -name can accept bash sequences then wouldn't it be simple just to use this to show color. @jasonwryan is right, I do need to read up more on dwm. Since I am in China it is problematic to search for things on the web even with a vpn and the suckless website is sparse on infomation.
    Seems that this would be the easiest way to add color to the status bar but maybe "xsetroot -name" doesn't output in color even though it does have "-fg -bg" switches.

  • DWM status bar

    Why doesn't this show color status in the dwm bar?
    red="echo -e \033[34;41mColor Text\033[0m"
    xsetroot -name $red
    Is my code wrong? or is DWM or Xsetroot removing the color?
    Last edited by derrickcope (2015-05-04 04:09:49)

    mauritiusdadd wrote:
    derrickcope wrote:What I am asking is shouldn't it be able to do it already without patching? Bash can output color so why do I have to patch?
    No. Bash can show colours because it can parse and interpret the escape sequences. Dwm code lacks of that feature and for this reason you have to apply a patch.
    Thanks, that's what I was asking. If xsetroot -name can accept bash sequences then wouldn't it be simple just to use this to show color. @jasonwryan is right, I do need to read up more on dwm. Since I am in China it is problematic to search for things on the web even with a vpn and the suckless website is sparse on infomation.
    Seems that this would be the easiest way to add color to the status bar but maybe "xsetroot -name" doesn't output in color even though it does have "-fg -bg" switches.

  • Lollipop 5.0 Status Bar

    Hi,
    I updated my Xperia Z1 Compact to Lollipop 5.0 at the weekend.
    There are many things that I don't like it, especially the BIG icons!, however one thing that annoys me everyday is the colour of the status bar. 
    I would prefer if the status bar was permanently black like previous android versions.  Does anyone know how I can change this?

    It can't be changed.
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • How do I turn off and on the icon size slider bar at the lower right status bar of a folder window.

    I have been trying for days to help a friend with a new iMac to turn on the icon size slider bar that on my iMac appears at the bottom of ever folder when it is open when in the "view" > "icon" mode.  I cannot find anything that discusses this slider bar.  I can turn this status bar off and on on both my machine and my friends machine, but I cannot turn off or on the slider on either machine. 

    This did not help.  I am a Mac User since 1984 and generally I am never stymied buy the Mac OS, but this one has me.   I can open and close the lower status bar, as you described, and that works fine for me because I have the icon slider bar already there and it works fine; however when I open the lower status bar on my friends machine there is no icon size slider bar, and I can't seem to find out how to get it there, as it is on my machine or at all. The icon size can be controlled from the View menu, but as a photographer, it is really handy to have it at the bottom of the folder window.  Thanks for trying. 

  • The status bar is pushed up at about 3/4 of the screen, so I can view onlu firefox at about 1/4, good thing there is a scroll bar, but below the status bar is white display? can u please help me, I want to drag down the status bar so I can have a full vi

    The status bar is pushed up at about 3/4 of the screen, so I can view only Firefox at about 1/4, good thing there is a scroll bar, but below the status bar is white display? can u please help me, I want to drag down the status bar so I can have a full view
    == This happened ==
    Every time Firefox opened

    Your code is absolutely unreadable - even if someone was willing to
    help, it's simply impossible. I do give you a few tips, though: If you
    understand your code (i.e. if it really is YOUR code), you should be
    able to realize that your minimum and maximum never get set (thus they
    are both 0) and your exam 3 is set with the wrong value. SEE where
    those should get set and figure out why they're not. Chances are you
    are doing something to them that makes one 'if' fail or you just
    erroneously assign a wrong variable!

  • How can I create a status bar at the bottom of a window ?

    I would like to create a status bar at the bottom of my main window similiar to "Internet explorer" has. I thought of using a tool bar but I can't see how to keep it positioned at the bottom of the window when the window is resizable. Any other ideas on how to do this the bar only needs to contain a small amout of text and maybe an icon or two.

    CVI doesn't have a status bar control on UI element like the one available in Visual Studio++. The best way to replicate this is most like through a string control that is resized and positioned to remain at the bottom of the window and colored to look appropriately. I have also seen the combination of a decoration and a text message used.
    Best Regards,
    Chris Matthews
    Measurement Studio Support Manager

  • How can I implement a status bar at the bottom of a resizable application?

    Hello all,
    I am a JavaFx newbie and I am implementing an application (a Sokoban game), with a menu at the top of the frame and a gaming area covering the rest of the frame. To support the game, I have to load images at certain positions in the gaming area.
    The game also includes a level editor with another menubar and where images are set to other positions.
    I implemented this in another view, swiching from the game mode to the level editor mode and vice versa is just done by setting the other view visible. Up to now this works, here the important statements building these details:
    Group root = new Group();
    gameView = new Group(); // for gaming mode
    le_view = new Group()   // for level editor mode
    MenuBar gameMenubar = new MenuBar();
    Menu menuGame = new Menu(bundle.getString("MenuGame"));
    ... building the menu items and menues ...
    gameView.getChildren().add(gameMenubar);
    ImageView buildingView[][] = new ImageView[22][22];
    for (nCol = 0; nCol < 22; nCol++) {
        for (nRow = 0; nRow < 22; nRow++) {
            buildingView[nCol][nRow] = new ImageView();
            buildingView[nCol][nRow].setX(nCol * 26 + 5);
            buildingView[nCol][nRow].setY(nRow * 26 + 40);
            gameView.getChildren().add(buildingView[nCol][nRow]);
    gameView.setVisible(true);
    root.getChildren().add(gameView);
    ... same stuff to build the le_view ...
    le_View.setVisible(false);
    root.getChildren().add(le_View);
    Scene scene = new Scene(root, 800, 600, Color.CORNSILK); Now I want to introduce a status bar at the bottom of the frame, which of course has to follow the bottom of the frame, if it is resized. And of course the menu and the status bar should not grow vertically, if the height of the frame is increased.
    The implementation seems to be easy with StackPane for the frame and one BorderPane for each mode.
    For the first step I only tried implementing the game mode with only one BorderPane (just setting the menu, the gaming area and the status bar each into a HBox and setting these three HBoxes at the top, into the center and at the bottom). I also tried this via GridPane and via VBox; I always get any erroneous behaviour:
    Either the menubar is visible, but the menus do not pop up the menu items, or the anchor point of the menu and of gaming area are set 100 pixels left of the left frame border and move into the frame when the frame width is increased, or the menu is set 20 pixels below the top of the frame, or HBox with the menu grows when the frame height is increased, so that the anchor point of the gaming area moves down.
    Can you describe me a correct construction of such a frame? Thanks in advance.
    Best regards
    Gerhard

    Hello Gerhard,
    Glad the code helped, thanks for a fun layout exercise.
    For the draft code I just pulled an icon off the internet over a http connection.
    If you haven't done so already place any icons and graphics you need local to your project, so that resource lookups like:
    Image img = new Image("http://www.julepstudios.com/images/close-icon.png");become
    Image img = new Image("close-icon.png");then performance may improve.
    Another possible reason for your performance problem could be that when you use a vbox, the vbox content can overflow the area of the borderpane center and might be sitting on top of the menu pane, making you unable to click the menu (which is what happens to me when I try that with the draft program with the vbox wrapping mod, then resize the scene to make it smaller). This was a trick which caught me and the reason that I used a Group originally rather than a vbox. I found a vbox still works but you need to tweak things a bit. The trick I saw was that the order in which you add stuff to the borderpane is important. The borderpane acts like a stack where the last thing added floats over the top of everything else if you size the scene small enough. For your project you want the menu on top always, so it always needs to be the last thing added to the borderpane, but when you swap in the level pane for the game pane, then back out again, the game pane can end up on top of the menu which makes the menu seem like you can't click it (only when the scene is sized small enough). It was quite a subtle bug which took me a little while to work out what was happening. For me the solution was to add just one vbox to the center of the border, and then swap the game pane and the level editor in and out of the vbox, that way the center of the layout always stayed behind the menu bar and the status bar.
    I added some revisions to reflect the comments above and placed some comments in the code to note what was changed and why.
    public class SampleGameLayoutRevised extends Application {
      public static void main(String[] args) { Application.launch(args); }
      public void start(Stage stage) throws Exception {
        final BorderPane gameLayout = new BorderPane();
        final Group gameView = new Group();
        final MenuBar gameMenubar = new MenuBar();
        final Menu gameMenu = new Menu("Mode");
        final VBox centerView = new VBox();
        centerView.setStyle("-fx-background-color: darkgreen");  // we set a background color on the center view to check if it overwrites the game menu.
        MenuItem playGameMenu = new MenuItem("Play Game");
        MenuItem levelEditMenu = new MenuItem("Edit Levels");
        gameMenu.getItems().add(playGameMenu);
        gameMenu.getItems().add(levelEditMenu);
        gameMenubar.getMenus().add(gameMenu);
        final StackPane levelEditView = new StackPane();
        levelEditView.getChildren().add(new Text("Level Editor"));
        ImageView buildingView[][] = new ImageView[22][22];
        Image img = new Image("http://www.julepstudios.com/images/close-icon.png");  // use of http here is just for example, instead use an image resource from your project files.
        for (int nCol = 0; nCol < 22; nCol++) {
          for (int nRow = 0; nRow < 22; nRow++) {
            ImageView imgView = new ImageView(img);
            imgView.setScaleX(0.5);
            imgView.setScaleY(0.5);
            buildingView[nCol][nRow] = imgView;
            buildingView[nCol][nRow].setX(nCol * 20 + 5);
            buildingView[nCol][nRow].setY(nRow * 20 + 40);
            gameView.getChildren().add(buildingView[nCol][nRow]);
        final VBox statusBar = new VBox();
        final Text statusText = new Text("Playing Game");
        statusBar.getChildren().add(statusText);
        statusBar.setStyle("-fx-background-color: cornsilk"); // we set a background color on the status bar,
                                                              // because we can't rely on the scene background color
                                                              // because, if the scene is sized small, the status bar will start to overlay the game view
                                                              // and if we don't explicitly set the statusBar background the center view will start
                                                              // to bleed through the transparent background of the statusBar.
        gameLayout.setCenter(centerView); // we add the centerview first and we never change it, instead we put it's changeable contents in a vbox and change out the vbox content.
        gameLayout.setBottom(statusBar);
        gameLayout.setTop(gameMenubar);   // note the game layout is the last thing added to the borderpane so it will always stay on top if the border pane is resized.
        playGameMenu.setOnAction(new EventHandler<ActionEvent>() {
          public void handle(ActionEvent event) {
            centerView.getChildren().clear();  // here we perform a centerview vbox content swap.
            centerView.getChildren().add(gameView);
            statusText.setText("Playing Game");
        levelEditMenu.setOnAction(new EventHandler<ActionEvent>() {
          public void handle(ActionEvent event) {
            centerView.getChildren().clear();  // here we perform a centerview vbox content swap.
            centerView.getChildren().add(levelEditView);
            statusText.setText("Editing Level");
        playGameMenu.fire();
        Scene scene = new Scene(gameLayout, 800, 600, Color.CORNSILK);
        stage.setScene(scene);
        stage.show();
    }Other than that I am not sure of a reason for the slowdown you are seeing. In my experience JavaFX has been quick and responsive for the tasks I have been using it for. Admittedly, I just use if for a bunch of small trial projects, but I've never seen it unresponsive for a minute.
    - John

  • Error message in a BADI getting displayed in a popup instead of status bar

    Hello All,
    I have implemented a BADI in ECC6 to prevent the change of formula in ERP from transaction O3I8.
    The BADI gets called on clicking 'Save' from transaction o3I8.
    Within the  BADI i am giving an error message using the following command:
    Message e000(ZABC) .
    However , the message gets displayed in a pop up instead of the status bar .
    The same is for information and warning messages.
    Any suggestions on how to display them in the status bar ?
    TIA
    Regards,
    Vartika

    Hi Brad,
    The checkbox to display messages in pop-up  is already switched off.
    Still themessages are getting displayed in pop-up.
    Regards,
    Vartika

  • Why does the address/status bar not work?

    After updating to 9.0.1, my status bar will not work, or my address bar. If I try to type in anything and press enter into the address bar, nothing happens. Also, I cannot press forward or back as they always remain grayed out. The only way I can get to a website is by pressing home, which is thankfully google. I have to google the url to go to it.
    Remembering now actually, I copied all the folders from the main firefox folder and pasted them into a new install of firefox (I had this problem actually before firefox updated). I was hoping that copying these folders would save my addons and etc. after I downloaded a new firefox and re-installed it. I put the folders back and firefox is still messed up :/
    I just want it to work more Q_Q

    That issue can be caused by an extension that isn't working properly.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode

  • How to Show String Error Message in SAP status bar?

    Hello All,
    I am doing some custom check in SBO_SP_TransactionNotification and Setting
       SET @error = -1
       SET @error_message='Duplicate Web Order ID'
       select @error,  @error_message 
    But in SAP interface it is only showing -1 in status bar, I could not show error_message in status bar. How it could be achieved.
    Thanks in advance

    Hi
    try this
    SET @error = 1
    SET @error_message='Duplicate Web Order ID'
    select @error, @error_message
    Regards
    Arun

  • Customizing the Home Screen Status Bar

    I know right now that the ability to customize the home screen is more or less limited to the arrangement of the icons, right?
    What I want is the ability to place a 'new mail' or 'new sms' icon at the top of the home screen, along the status bar where the time and signal strength are currently displayed.
    That way I can see at a glance if I have new messages, even when the phone is locked, by hitting the unlock button at the top of the phone.
    Luckily the SMS preview gives me that status, but I still need to manually unlock the phone with the passcode before I can see if I have any new email. I don't use an audible alert for incoming email.
    I'd also prefer the option to have new sms messages neither display a preview nor even display a name on the home screen.
    In short, I want more control over the behavior and display of the home screen. I've seen some rumblings that the Apple SDK disallows interaction with the home screen. If so, iPhone users are completely at the whim of Apple to include new home screen functionality.
    I'm not happy with that arrangement.
    Coming from the Windows Mobile word, I'm finding Apple to be a very closed system. I knew ahead of time that there would be some diminished flexibility, but I didn't expect this much of a drop.

    Apparently you do not have a question, but it seems that you have some feedback for Apple. As this is a users forum, populated by iphone users -not Apple, perhaps you need the address for feedback that Apple does receive:
    www.apple.com/feedback/iphone.html

Maybe you are looking for

  • Why does safari open a new window when a search is entered

    so I open safari like normal , go yahoo bookmark. then do a search thru yahoo. select it then it opens a new safari window. How do I stop this , so the selected searched item stay on current tab, rather then opening a new window

  • Creating Query with dynamic columns to show results

    Hi experts, I need to know how to create a query with dynamic columns. Meaning, I don't want to create a query with fixed columns representing the 12 periods of the fiscal year to show me actuals as the fiscal year proceeds. For example, if I am curr

  • Instantiation outside main method

    Why can't you do the following? I get an error message: Java programs\Exp.java:14: non-static variable scan cannot be referenced from a static context boxes = scan.nextInt(); I don't understand this message since you can instantiate objects and initi

  • Portlet content from XML XDB

    Hi, I need to get content of xmls stored in XML DB and display in a portlet. Does someone has any idea how to do that/ I try to use: select xdbURIType(##Param1##).getClob() from dual as SQL source. During building portlet it works when I press Test b

  • Viewing a backed up sparsebundle to recover a file

    I'm reading this link from James and hoping someone can help me figure out how to find a file on a sparsebundle that is on an external drive. This is an archived backup and is not the current sparsebundle that I am backing up with as there was an iss