Tweet o = tweets.get(position);
TextView tt = (TextView) v.findViewById(R.id.toptext);
//TextView bt = (TextView) v.findViewById(R.id.bottomtext);
EditTex
The easy way to create a spannable
text bold
and italic
to set into your TextView
is using the method Html.fromHtml()
:
and using the html elements and
myTextView.setText(Html.fromHtml("my text bold and italic!"));
or the html elements and
myTextView.setText(Html.fromHtml("my text bold and italic!"));