アクティビティの背景色を変更しようとしているだけですが、何も変わっていません。
関連する XML は次のとおりです。
スタイル.xml
<resources>
<style name="STBTheme" parent="android:Theme.Light" >
<item name="android:windowBackground">@color/blue</item>
</style>
</resources>
AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.pedro.stb"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="15" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/STBTheme" >
<activity
android:name=".MainActivity"
android:label="@string/title_activity_main"
android:theme="@style/STBTheme" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
さらに、Eclipse を使用しており、アクティビティの xml でテーマを変更することで、グラフィカルなレイアウトに変化はありません。
何か助けはありますか?
編集 動作するようになりました。レイアウトをリロードする前にプロジェクトをクリーンアップする必要があります。とてもうるさい...