Reputation: 167
sorry, question's title was created in google translate. My english is too short..
anyway, my question is How to change part of text style, in One TextView..
Example,
TextView1's text:
Hi, I am a Human. // Default TextSize 10
Hi, I am a Elf. // Change TextColor Blue
Hi, I am a Oak. // Change TextColor Green, TextSize 15
Hi, I am a Dragon. // Change TextColor Red, TextSize 18
is that possible?
Upvotes: 1
Views: 304
Reputation: 795
I have same problem i use calligraphy
https://github.com/chrisjenx/Calligraphy
It working fine....
Upvotes: 1
Reputation: 186
You can use spannable string, or some library with rich textview widget, such as https://github.com/quiqueqs/BabushkaText
Upvotes: 2