I would like to define a theme for my first Android app. I use Eclipse and I follow this tutorial but have problems.
Steps:
A. I create the values/styles.xml file with content
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="default_splashScreen">
<item name="android:background">@drawable/bg</item>
</style>
</resources>
B. I create the values/themes.xml file with content
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme" parent="android:Theme">
<item name="SplashScreen">@style/default_splashScreen</item>
</style>
</resources>
Now Eclipse always complains about the item name="SplashScreen" node with the message "No resource found...". I just want SplashScreen to call default_splashScreen style.
What is wrong? Thx!