Question

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.

Was it helpful?

Solution

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>

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top