在一个GridView网格线 [英] Grid-lines on a GridView

查看:155
本文介绍了在一个GridView网格线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何定义网格线的GridView?
是否有一个属性还是我画我自己的背景与他们呢?

How do I define grid-lines for a GridView? Is there an attribute or do I have to draw my own background with them in it?

推荐答案

有没有这样的属性。最简单的就是创建GridView控件的子类,并覆盖dispatchDraw()或的onDraw()来自己做。

There is no such attribute. The easiest thing is to create a subclass of GridView and override dispatchDraw() or onDraw() to do it yourself.

这篇关于在一个GridView网格线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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