0

Can you please tell me how can I set the RBG value of android.R.styleable.Theme_textColorDim for my android application?

Thank you.

I have added this styles.xml file in my project:

<?xml version="1.0" encoding="utf-8"?>
resources>
<style name="ApplicationStyle" parent="android:Theme">
  <item name="android:textColorDim">#00ff00</item>
</style>
</resources>

But when I compile it, I get this error:

res/values/styles.xml:19: error: Error: No resource found that matches the given name: attr 'android:textColorDim'.

So how can I set the textColorDim?

Rishabh Srivastava
  • 3,683
  • 2
  • 30
  • 58
michael
  • 106,540
  • 116
  • 246
  • 346

1 Answers1

0

You can create a theme that overrides one of the textColorXX attributes in android.R.attr, and then apply that theme to your activity or even the entire application.

These links may prove to be helpful:

Community
  • 1
  • 1
Roman Nurik
  • 29,665
  • 7
  • 84
  • 82