Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-136] status bar translucent at loading but not once loaded

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2011-04-15T02:24:11.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterKevin Holland
AssigneeReggie Seagraves
Created2011-04-15T02:24:10.000+0000
Updated2017-03-09T21:09:26.000+0000

Description

I have set my apps status bar as translucent_black and it works fine at first but then it reverts back to opaque gray when the main index loads. Just curious if this is a bug or perhaps i'm not using it correctly i also tried putting it inside the window node as well, no success.

tiapp.xml

<?xml version="1.0" encoding="UTF-8"?>
<ti:app xmlns:ti="http://ti.appcelerator.org">

&lt;id&gt;com.titaniumdev.xxxx&lt;/id&gt;
&lt;name&gt;xxxxxxxxx&lt;/name&gt;
&lt;version&gt;1.0&lt;/version&gt;
&lt;icon&gt;appicon.png&lt;/icon&gt;
&lt;persistent-wifi&gt;false&lt;/persistent-wifi&gt;
&lt;prerendered-icon&gt;false&lt;/prerendered-icon&gt;
&lt;statusbar-style&gt;translucent_black&lt;/statusbar-style&gt;
&lt;windows&gt;
    &lt;window&gt;
        &lt;id&gt;authentication&lt;/id&gt;
        &lt;url&gt;auth.html&lt;/url&gt;
        &lt;backgroundImage&gt;images/background1.png&lt;/backgroundImage&gt;
    &lt;fullscreen&gt;false&lt;/fullscreen&gt;
    &lt;/window&gt;
&lt;/windows&gt;



</ti:app>

index (nothing special)

<html>

&lt;head&gt;
    &lt;script type=&quot;text/javascript&quot; src=&quot;jquery-1.3.2.js&quot;&gt;&lt;/script&gt;
    &lt;script type=&quot;text/javascript&quot; src=&quot;auth.js&quot;&gt;&lt;/script&gt;
    &lt;link href=&quot;auth.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;p&gt;
        testing
    &lt;/p&gt;
&lt;/body&gt;



</html>

Comments

  1. Kevin Holland 2011-04-15

    boo sorry still getting used to the formatter.

    @@@ tiapp.xml <?xml version="1.0" encoding="UTF-8"?>
    <ti:app xmlns:ti="http://ti.appcelerator.org";">http://ti.appcelerator.org">

       <id>com.titaniumdev.xxxxx</id>
       <name>xxxxx</name>
       <version>1.0</version>
       <icon>appicon.png</icon>
       <persistent-wifi>false</persistent-wifi>
       <prerendered-icon>false</prerendered-icon>
       <statusbar-style>translucent_black</statusbar-style>
       <windows>
           <window>
               <id>authentication</id>
               <url>auth.html</url>
               <backgroundImage>images/background1.png</backgroundImage>
           <fullscreen>false</fullscreen>
           </window>
       </windows>
       

    </ti:app>

       
       
  2. Thomas Huelbert 2011-04-15

    housekeeping, closing as invalid

  3. Lee Morris 2017-03-09

    Closing ticket as invalid.

JSON Source