在Titanium经典机器人中隐藏标题栏

时间:2015-04-21 14:31:24

标签: titanium-mobile titanium-android

我已尝试在stackoverflow上提供所有可能的替代方案,但它没有用。如果任何人有其确切的anwser,请告诉我。我是钛框架的新手。我的应用程序已完成,但我需要在上传之前删除默认的钛经典标题栏。

1 个答案:

答案 0 :(得分:1)

看起来有两种方法可以做到这一点。

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

此外,您似乎可以通过TiApp.xml文件执行此操作:

...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