Android 模态:true时的Appcelerator/Tianium Holo UI不工作

Android 模态:true时的Appcelerator/Tianium Holo UI不工作,android,titanium,appcelerator,android-ui,Android,Titanium,Appcelerator,Android Ui,我对UI有问题 我使用changin tiapp.xml将默认UI更改为Holo: <android xmlns:android="http://schemas.android.com/apk/res/android"> <tool-api-level>14</tool-api-level> <manifest> <application android:theme="@android:style/Theme.Holo">

我对UI有问题

我使用changin tiapp.xml将默认UI更改为Holo:

<android xmlns:android="http://schemas.android.com/apk/res/android">
<tool-api-level>14</tool-api-level>
<manifest>
    <application android:theme="@android:style/Theme.Holo">
        <activity android:name=".ThemetestActivity" android:theme="@android:style/Theme.Holo">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
    </application>
</manifest>
</android>

为什么新windows不在Holo UI中?

请查看Tianium问答开发网站上的答案:

在tiapp.xml中,请添加以下内容,以便在模态窗口上应用全息主题:

我已经看到了。这也是我的问题:)我在论坛上发布了我的问题,同时在这里:)
var myButton = Titanium.UI.createButton({
   title: 'Test button',
   width: 500,
   height: 100,
   top: 60,
   font: { fontSize: 30 }
});

table.addEventListener('click', function(e) {
    var window = Ti.UI.createWindow({
        title:'Flight Details',
        backgroundColor:'#fff',
        backButtonTitle: 'Back',
        modal: true
    });

   window.add(myButton);
    window.open( { animated: true } );
});
In tiapp.xml please add the following for applying holo theme on modal windows :
<activity 
  android:name="org.appcelerator.titanium.TiModalActivity" 
   android:theme="@android:style/Theme.Holo" />