如何绘制Android的多列列表视图的列之间的垂直线? [英] How to draw a vertical line between the columns of a multiple column list view in android?

查看:159
本文介绍了如何绘制Android的多列列表视图的列之间的垂直线?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我在Android的多列列表视图中工作。

我需要的是绘制android.Which一个多列列表视图的列之间的垂直线意味着我试图显示此多列列表视图像网格视图。
下面的图片会让你对我的怀疑清楚,请找它

如何实现这个concept.Suggestions?

在此先感谢!..


解决方案

 <查看
    机器人:ID =@ + ID /厂景
    机器人:layout_width =FILL_PARENT
    机器人:layout_height =2DIP
    机器人:layout_below =@ + ID / TE1
    机器人:背景=#F0FFFF/>

和检查该链接的http://thiranjith.com/2010/02/19/how-to-display-border-lines-with-tablelayouts/

<一个href=\"http://mobileorchard.com/android-app-development-%E2%80%93-layouts-part-two-table-and-absolute-layouts/\" rel=\"nofollow\">http://mobileorchard.com/android-app-development-%E2%80%93-layouts-part-two-table-and-absolute-layouts/

Right now i am working with multiple column list view in android.

My need is to draw a vertical line between the columns of a multiple column list view in android.Which means i am trying to show this multiple column list-view as like a Grid-View. The below images will make you clear about my doubts,please find it

How to achieve this concept.Suggestions?

thanks in advance!..

解决方案

<View
    android:id="@+id/view1"
    android:layout_width="fill_parent"
    android:layout_height="2dip"
    android:layout_below="@+id/te1"
    android:background="#F0FFFF" />

And check this links http://thiranjith.com/2010/02/19/how-to-display-border-lines-with-tablelayouts/

http://mobileorchard.com/android-app-development-%E2%80%93-layouts-part-two-table-and-absolute-layouts/

这篇关于如何绘制Android的多列列表视图的列之间的垂直线?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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