Sometimes it's nice to use spannables, html or even a custom view as content in a Showcase.
Html is quite easy and android as well allows very basic html tags in xml resources, like <b> for example. But therefore an TextViews text must be set with context.getText(res) instead of context.getString(res)... And following example shows how to use html (by reflection though, as that's what I currently use for it):
resource
<string name="tut"><![CDATA[<b>Bold text</b>... normal text]]></string>
Sometimes it's nice to use
spannables
,html
or even a custom view as content in aShowcase
.Html is quite easy and android as well allows very basic html tags in xml resources, like
<b>
for example. But therefore anTextViews
text must be set withcontext.getText(res)
instead ofcontext.getString(res)
... And following example shows how to use html (by reflection though, as that's what I currently use for it):resource
code
Just wanted to tell you this idea, for myself, I'm content with my workaround