开发者

Android ListView

Does anyone know how to do a listview which looks like this? I'm interesting in the style of r开发者_如何转开发ows with an own background and the selector working fine.

Android ListView


It is really rather unclear what you are looking for.

In each main row, the text are TextViews, the image is an ImageView, and they are positioned probably via a RelativeLayout.

The header rows are a TextView.

The rows are intermingled via some sort of adapter, like for any ListView. You could use my SackOfViewsAdapter or MergeAdapter for that, or you could create your own subclass of BaseAdapter. The adapter will indicate which rows are enabled and which are not, to determine which can be clicked or selected.

In the future, please consider asking more concrete questions.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜