display string as a multiple tag in a single textview : first thing that i know how to split string and my question is not about splitting comma or space.

i have string like this,

    "hello,nice,owesome"

and i wanted to display like this:

[![enter image description here][1]][1]

this is how i saperate my string:

    ArrayList<String> list = Arrays.asList(str.split(","));

now i have saperated greeting list but i dont know how to display those list as multiple tag in a single textview.


  [1]: https://i.stack.imgur.com/mlQ8Q.png