0

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

4

1 回答 1

3

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

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

于 2015-04-21T16:07:57.183 回答