如何使一个即时通讯界面与泡沫 [英] How to make a instant messenger GUI with bubbles

查看:109
本文介绍了如何使一个即时通讯界面与泡沫的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个非常初学者,我需要有人来告诉我,哪种方式的即时通讯软件界面有气泡完成。难道只是一个TextViews 9修补的背景滚动型?而哪种方式的新的最底部获得创建? 或者是还有什么库来实现这一切? 如何使它在Android?只需指向我的技术。

I am a very beginner and I need someone to tell me, which way instant messengers GUI with bubbles are done. Is it just a ScrollView with TextViews with 9-patched backgrounds? And which way the new ones get created at the very bottom? Or is there any library to implement all this? How to make it on Android? Just point me to the technology.

推荐答案

对于显示您将使用所有的聊天信息的ListView

Regarding showing the all the chat messages you will use ListView.

每个项目将显示一个消息用户。

Each item will show single message from user.

您必须href="http://stackoverflow.com/a/4777306/593709">提供的,一个用于发送者和其他用于接收机

You have to provide two types of row, one for the sender and other for receiver.

和有关讲话泡沫,你需要努力 9片图像

and regarding speech bubble you need to work with 9 patch images.

编辑:我已经写了约 Android的语音气泡博客文章。可能是一些帮助你。 :)

I've written a blog post about Android Speech Bubble. may be of some help for you. :)

这篇关于如何使一个即时通讯界面与泡沫的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆