cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From urmx <...@git.apache.org>
Subject [GitHub] cordova-plugin-statusbar issue #78: CB-11858: (android) Add StatusBarStyle f...
Date Tue, 25 Apr 2017 10:21:17 GMT
Github user urmx commented on the issue:

    https://github.com/apache/cordova-plugin-statusbar/pull/78
  
    @tobiasviehweger For the blacktranslucent behavior, I used this [plugin README](https://github.com/apache/cordova-plugin-statusbar/blob/master/README.md#statusbarstyleblacktranslucent):
    
    > Use the blackTranslucent statusbar (light text, for dark backgrounds).
    
    And I also had a look on [Apple Developer](https://developer.apple.com/reference/uikit/uibarstyle)
about [blackTranslucent](https://developer.apple.com/reference/uikit/uibarstyle/1623394-blacktranslucent):
    
    > Deprecated. Use black and set the isTranslucent property to true instead.
    
    So it's the same as [black](https://developer.apple.com/reference/uikit/uibarstyle/1623396-black):
    
    > Use a black background with light content.
    
    And now both blackTranslucent and blackOpaque seem both deprecated in [UIStatusBarStyle](https://developer.apple.com/reference/uikit/uistatusbarstyle)
(as you mentioned in your PR).
    
    However, the [devgirl blog](http://devgirl.org/2014/07/31/phonegap-developers-guid/) you
used as a reference state the opposite:
    
    > The default and blacktranslucent values display black foreground text and icons.
    > The lightcontent and blackopaque values display white foreground text and icons.
    
    So if she's right, we also have to change this plugin README.
    
    And for the default value in Android, I used lightContent (white on black) because it's
backward compatible with the current style (white status bar text).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message