Android ShowcaseView Text Color

3.1k views Asked by At

The default color for the subtext in the android showcaseview library found here is white. I would like to make the subtext black. I cannot find any documentation on how to change text color. There is a guide on XDA Developers which says how to change text color but it seems to be outdated. Anyone familiar with showcaseview?

Thank you.

2

There are 2 answers

0
Frank D. On BEST ANSWER

I had exactly the same problem and managed to change the text color by editing the color value the library itself from Eclipse. This assumes that you have imported the library in Eclipse and that it should be visible from the package explorer window.

Navigate to: [Library package] -> [res] -> [values] -> [styles.xml].

Now, change this:

  <style name="TextAppearance.ShowcaseView.Detail" parent="android:style/TextAppearance">
    <item name="android:textColor">#FFFFFF</item>
  </style>

Into this:

   <style name="TextAppearance.ShowcaseView.Detail" parent="android:style/TextAppearance">
            <item name="android:textColor">#000000</item>
   </style>
0
dabarnard On

I know this answer is rather late, but I was struggling with the same problem.

This link here (especially the section titled Theming) helped me customise the ShowcaseView effectively, rather than to modify the library itself.

Perhaps this answer will help someone else that stumbles upon this post in the future like I just did.