ShowcaseView
ShowcaseView copied to clipboard
How to add margin between the TITLE and DETAIL?
I try to change the text appearence of the detail but is not working. How can i add an extra margin between the title and detail?
<style name="ShowcaseDetailTextAppearance" parent="TextAppearance.ShowcaseView.Detail.Light">
<item name="android:textSize">@dimen/text_extra_large</item>
<item name="android:textColor">@android:color/white</item>
<item name="android:layout_marginTop">40dp</item>
</style>
layout_*
attributes cant be added to a TextAppearance
. I'll think about the best way to add this feature but in the meantime you could try to use lineSpacingExtra
instead?
OK @amlcurran, i will try to use lineSpacingExtra
, thanks!
Not sure if it will work, but will be interesting to see if it does!
@amlcurran, lineSpacingExtra don't work. =(
@sandro-csimas this is a bit of a hack but I did this:
showcaseView.setContentTitle(Html.fromHtml("Title<br/>"))