安卓:像短信对话的ListView风格风格、短信、ListView

由网友(是狗总该滚走)分享简介:我在想,如果有一个简单的方法来风格的ListView随着它就像在Android的短信应用程序对话的项目。有圆角之类的东西,在这里我不知道我怎么能实现这个我自己。I was wondering if there is a simple way to style a ListView along with it's it...

我在想,如果有一个简单的方法来风格的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.

阅读全文

相关推荐

最新文章