I am developing a small app. I used internal SQLite java class to store data. Data is successfully stored and displaying. I used card-view and recyclerview. All things are working fine. But I want to apply formatting on specif text, which is stored in sqlite. For example some text display as heading , bold etc . Actually text is to large. So i want text display as stylish. I hope you understand my question. Sorry for bad English.
Asked
Active
Viewed 130 times
0

Phantômaxx
- 37,901
- 21
- 84
- 115

kinza Akbar
- 17
- 3
-
Do you control the sqlite database or do you get the database from a server? – Ge3ng Oct 21 '19 at 14:26
-
No . I am using internal java-class to store data. – kinza Akbar Oct 21 '19 at 14:31
1 Answers
0
You can user basic HTML and turn it into a spanned using SpannableString.fromHtml
. then set that Spannable String in a text view and will will show as a stylized html.

Ge3ng
- 1,875
- 1
- 24
- 38