I’m trying to define a style this way in the /values/styles.xml file:
<style name="TextAppearance.test" parent="@android:style/TextAppearance">
<item name="android:typeface">sans</item>
<item name="android:textColor">@android:color/white</item>
<item name="android:textSize">15sp</item>
<item name="android:clickColor">@android:color/red</item>
</style>
But, the eclipse shows me an error on the last line of the style tag with the text:
error: Error: No resource found that matches the given name: attr 'android:clickColor'.
I found somewhere that I might need to have the build target up to 13. In my application i have the following lines in the AndroiManifest.xml:
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="16" />
Any idea what is causing the problem?
if you try every possibilities and finally also its not working then you may go for this