安卓:像短信对话的ListView风格 [英] Android: ListView style like text messages conversations

查看:127
本文介绍了安卓:像短信对话的ListView风格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在想,如果有一个简单的方法来风格的ListView随着它就像在Android的短信应用程序对话的项目。有圆角之类的东西,在这里我不知道我怎么能实现这个我自己。

I was wondering if there is a simple way to style a ListView along with it's items like the conversation in android's text message app. There are rounded corners and stuff like that, where I'm not sure how I could implement this myself.

我知道,我可以寻找它的源$ C ​​$ C,并试图从那里复制,但它有很多文件,一个巨大的应用程序,这就是为什么我决定先问问。

I know that I could look for the source code of it, and try to copy from there, but it's a huge app with a lot of files and that's why I decided to ask first.

在此先感谢, 简奥利弗

Thanks in advance, Jan Oliver

推荐答案

我不明白在股市SMS应用程序的任何圆角...?无论哪种方式,圆润的边角都相当容易做到 9补丁PNG文件。除此之外,短信应用程序的造型是pretty的简单。它包含了两个TextViews的,以及一个 QuickContactBadge 的,几个不同的背景颜色,仅此而已。

I don't see any rounded corners in the stock sms app...? Either way, rounded corners are quite easy to do with 9-patch png files. Other than that the styling of the sms app is pretty simple. It contains a couple of TextViews, and one QuickContactBadge, a few different background colors, and that's it.

这篇关于安卓:像短信对话的ListView风格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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