创建于Android的iPhone风格的泡沫列表视图 [英] Creating iPhone style bubble list view in android

查看:119
本文介绍了创建于Android的iPhone风格的泡沫列表视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在两个用户之间建立一个聊天应用程序的交互。我想显示在iPhone泡沫列表视图形式的用户之间的互动......

I am creating a chat application the interacts between two users. I want to show the interaction between the users in the form of a iPhone bubble list view...

我发现了一个教程,显示了制造泡沫列表中的IOS ...的这里的链接... ...

I found a tutorial that shows to create a bubble list in IOS... Here's the link......

我已经看到了很多的显示像Handcent短信等等。我也相信,一些开发商在这里可以有一个关于做这件事的线索......如果任何人引导我走向我将不胜感激泡沫列表视图Android应用教程或实现任务的一些样品...

I have seen lot of Android applications that display the bubble list view like Handcent sms etc. I am also sure that some developers here may have a clue about doing it... I would be grateful if any one direct me towards a tutorial or some samples of achieving the task...

推荐答案

您想要喜欢的事这

点击屏幕截图。

这是一个Twitter的应用程序,美元的类似格式的泡沫p $ psents鸣叫。

that is a twitter application that presents tweets in a bubble like format.

您将不得不实现自定义适配器的ListView你,这里的getView()方法中,你可以控制每行是如何绘制的。

You'll have to implement a custom adapter for you ListView, where inside the getView() method, you can control how each row is drawn.

实施不同的自定义布局偶数奇数行,你可以这样的事情。

Implement different custom layouts for even-odd rows and you can something like this.

修改:你可以找到一个完整的教程:的http://thetechnib.blogspot.com/2010/12/android-tutorial-custom-adapter-for.html

EDIT: You can find a full tutorial here: http://thetechnib.blogspot.com/2010/12/android-tutorial-custom-adapter-for.html

这篇关于创建于Android的iPhone风格的泡沫列表视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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