can any one tell how to add text styles to text view at runtime..
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Selva GanapathyPosted Mar 12, 2014, 7:33 AM
Can you share me the Application (if possible) so that I can solve your problem?
Regards,
Selva Ganapathy K
Ramya PPosted Mar 12, 2014, 1:34 AM
but i need to change multiple styles i want to select arial,verdana,Timesnewroman etc.,
when i select that option that font also change to that style like ms word,
is it possible in android..
Selva GanapathyPosted Mar 12, 2014, 12:31 AM
You can change the text style using the following code snippet.
setTextAppearance(getApplicationContext(), R.style.boldText);
Regards,
Selva Ganapathy K