Reputation: 804
I've been trying to add the Holo Dark theme to my android application. For this I have added the following to the application tag of the android manifest xml file.
android:theme="@style/Theme.Holo"
This produces an error which says Resource not found that matches the given name. Any ideas on how to get past this ?
PS: I am just beginning android development.
Edit 1
The only step I've taken to add the Holo theme for android application is the addition of the above mentioned line of code. DO I have to import any files to the styles folder in the project ?
Upvotes: 0
Views: 1515
Reputation: 2402
You have to use a system resource. @style
uses only resource that are defined by you. @android:style
uses system resources:
android:theme="@android:style/Theme.Holo"
Upvotes: 3