How can i put the text sent in a chat inside the typical chat app speech bubble?

An example:

Other example that maybe can help you:
METRIC RAT AI2 - Dynamic Card Style Listview