Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7709B1107E for ; Tue, 15 Jul 2014 02:57:46 +0000 (UTC) Received: (qmail 73989 invoked by uid 500); 15 Jul 2014 02:57:46 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 73960 invoked by uid 500); 15 Jul 2014 02:57:46 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 73946 invoked by uid 99); 15 Jul 2014 02:57:46 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2014 02:57:46 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 08CD894B798; Tue, 15 Jul 2014 02:57:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: agrieve@apache.org To: commits@cordova.apache.org Message-Id: <0de84b59203342eaba595410506a60a7@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: spec commit: Small tweak to statusbar manual test Date: Tue, 15 Jul 2014 02:57:46 +0000 (UTC) Repository: cordova-mobile-spec Updated Branches: refs/heads/master 290a435e1 -> 8a591f9bb Small tweak to statusbar manual test Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/8a591f9b Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/8a591f9b Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/8a591f9b Branch: refs/heads/master Commit: 8a591f9bb50bde92b11fa5ece31917e6726f7abd Parents: 290a435 Author: Andrew Grieve Authored: Mon Jul 14 22:57:00 2014 -0400 Committer: Andrew Grieve Committed: Mon Jul 14 22:57:34 2014 -0400 ---------------------------------------------------------------------- www/statusbar/index.html | 5 +++-- www/statusbar/index.js | 8 +++++++- 2 files changed, 10 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/8a591f9b/www/statusbar/index.html ---------------------------------------------------------------------- diff --git a/www/statusbar/index.html b/www/statusbar/index.html index 620db22..c5251f7 100644 --- a/www/statusbar/index.html +++ b/www/statusbar/index.html @@ -40,8 +40,9 @@ Also: tapping bar on iOS should emit a log.
show
hide
-
style=default
-
style=red
+
style=red
+
style=translucent black
+
style=default
Toggle Overlays

Back
http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/8a591f9b/www/statusbar/index.js ---------------------------------------------------------------------- diff --git a/www/statusbar/index.js b/www/statusbar/index.js index dae733a..201cf26 100644 --- a/www/statusbar/index.js +++ b/www/statusbar/index.js @@ -21,7 +21,12 @@ function doColor1() { } function doColor2() { - log('set color=default'); + log('set style=translucent black'); + StatusBar.styleBlackTranslucent(); +} + +function doColor3() { + log('set style=default'); StatusBar.styleDefault(); } @@ -47,6 +52,7 @@ window.onload = function() { addListenerToClass('action-hide', doHide); addListenerToClass('action-color1', doColor1); addListenerToClass('action-color2', doColor2); + addListenerToClass('action-color3', doColor3); addListenerToClass('action-overlays', doOverlay); addListenerToClass('backBtn', backHome); init();