title: How can I add pattern color on single character Android
body: <p>I am wordering that, how can I assign multiple colors on single character as shown below:<a href="https://i.stack.imgur.com/Okfg5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Okfg5.png" alt="Urdu character Bay"></a></p>
  
  <p>This is the character of urdu language.</p>
  
  <p>R&amp;D:
  Found that I can <a href="https://stackoverflow.com/questions/13074428/how-can-i-set-each-character-to-a-different-color-background-color-in-a-jtextpan">assign multiple colors on different characters in string</a>, but unable to apply different color patterns on single character.</p>