Balloon in Chatting Android Application
Question
I've to develop an android application that allows users to chat I want to make textView that handle their conversations in Balloon as shown in the picture below ,,
can anyone inform me how can I do that ????
thanks in advance
Solution
create two balloon images (for sent and received messages), make them 9 patch and set them as background to a layout which contains conversation.
OTHER TIPS
You will use 9 Patch images for this.
for showing them, you will use ListView
and each row item will contain text and that 9 patch chat bubble background.
Lot of discussion are available:
- I've written a blog post about android chat bubbles, you can find the open-source code there too.
- For example this stackoverflow post.
- Speech bubble popups containing a View post will also help you.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow