0

I am drawing text through paint, and have to set text thickness based on text frequency other than text size and text style. I am using the following code but wanted to set thickness dynamically along with this.

mPaint.setTextSize(mTextSize);
Uma Achanta
  • 3,669
  • 4
  • 22
  • 49
  • please describe what you want – anddevmanu May 10 '17 at 06:44
  • want to set text thickness@ anddevmanu – Uma Achanta May 10 '17 at 06:47
  • use spanned string for that , or use html text for setting thickness like this http://stackoverflow.com/questions/10979821/how-to-make-part-of-the-text-bold-in-android-at-runtime http://stackoverflow.com/questions/14371092/how-to-make-a-specific-text-on-textview-bold – anddevmanu May 10 '17 at 06:50
  • I am having multiple texts, wanted to set thickness based on text count. I think spanned string is not useful in this case – Uma Achanta May 10 '17 at 07:05

0 Answers0