Titanium - Hiding Android actionBar for specific window
<p>I'm trying to hide the actionBar for a specific window. I've followed this: <a href="http://www.appcelerator.com/blog/2014/08/hiding-the-android-actionbar/" rel="nofollow">http://www.appcelerator.com/blog/2014/08/hiding-the-android-actionbar/</a> which used to work for me in the past.</p>

<p>What I did was to create a custom theme like this:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;resources&gt;
    &lt;style name="Theme.NoActionBar" parent="@style/Theme.AppCompat"&gt;
        &lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
    &lt;/style&gt;
    &lt;style name="Theme.YesActionBar" parent="@style/Theme.AppCompat"&gt;
        &lt;item name="android:windowNoTitle"&gt;false&lt;/item&gt;
    &lt;/style&gt;
&lt;/resources&gt;
</code></pre>

<p>I've set the following in my <code>tiapp.xml</code>:</p>

<pre><code>&lt;android xmlns:android="http://schemas.android.com/apk/res/android"&gt;
    &lt;manifest&gt;
        &lt;uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23" /&gt;
    &lt;/manifest&gt;
&lt;/android&gt;
</code></pre>

<p>And I've set the following in my window <code>tss</code>:</p>

<pre><code>"Window[platform=android]" : {
    theme: 'Theme.NoActionBar'
}
</code></pre>

<p>but still the action bar shows. If I hide it from code on window open event than it cuts the background image I have - so I rather do it with a theme.</p>

<p>how can I hide action bar with theme on sdk 5.2.0?</p>