0

How do I edit the styles.xml of a dependency in Android Studio?

Im currently using ShowcaseView 5.0 , but i want to theme the styles xml to what my ui colors look like. but i dont see any styles.xml associated from maven dependency.

Default theme i think enter image description here

Any kind of technique is greatly appreciated,

Thanks David

Dave
  • 141
  • 2
  • 14

2 Answers2

1

You don't need to edit the styles.xml, just provide your own. Take a look at the sample app, which has its own ShowcaseView styles:

https://github.com/amlcurran/ShowcaseView/blob/master/sample/src/main/res/values/styles.xml

Alex Curran
  • 8,818
  • 6
  • 49
  • 55
1

I can't comment because I don't have >50 reputation.

You can change your parent class in your style in which to inherit from. If you switch in between ShowcaseView.Light and ShowcaseView the detail text should alternate between white/black.

OR you might be able to use this in your style:

<item name="sv_detailTextAppearance">@style/CustomDetailText</item>
VernonG
  • 23
  • 6
  • hey where have you seen the item name? Ive been looking all over for it. thanks by the way. :) – Dave Nov 20 '14 at 01:00