ParminderLotey
ParminderLotey

Reputation: 57

Hiding Title Bar in Titanium classic android

I have tried all the possible alternative available on stackoverflow, but it didn't worked. Please let me know if any one has its exact anwser. I am new to titanium framework. My app is completed, but i need to remove by default title bar for titanium classic before uploading it.

Upvotes: 0

Views: 946

Answers (1)

Martin
Martin

Reputation: 1914

Looks like there are 2 ways to do this.

var win = Ti.UI.createWindow({theme: "Theme.AppCompat.Fullscreen"});

Also, it appears you can do this through the TiApp.xml file:

...other tiapp file stuff above...
<android xmlns:android="http://schemas.android.com/apk/res/android">
    <manifest>
        <application android:theme="@style/Theme.AppCompat.Fullscreen"/>
    </manifest>
</android>
...other tiapp file stuff below...

http://docs.appcelerator.com/titanium/3.0/#!/guide/Android_Themes

Upvotes: 3

Related Questions