I am trying to set the background and text color in styles.xml and have it apply to my entire application, but it does not apply to each activity at all.
Styles.xml
<resources>
<style name="AppTheme" parent="android:Theme.Light" >
<item name="android:textColor">#00FF00</item>
<!--<item name="android:windowNoTitle"> true</item>-->
<item name="android:windowFullscreen">true</item>
<item name="android:windowBackground">@color/black</item>
</style>
</resources>
My Strings.xml includes this line:
<color name="black">#000000</color>
Finally, my AndroidManifest.xml includes:
<application
android:icon="@drawable/ic_launcher"
android:label="Hack the World"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="landscape" >
</activity>
Make sure that you change the Style for Values v11 or v14 also. v11 is the values of the api version 11, and v14 is the values of the api version 14. So make sure on which Build Target you are compiling your project.