我如何能够在网格视图中添加滚动条? [英] how can i add scroll bar in grid view?

查看:260
本文介绍了我如何能够在网格视图中添加滚动条?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想补充的gridview的滚动条,我怎么能在网格视图中添加滚动条?


解决方案

  

我想补充的gridview的滚动条,我怎么能在网格视图中添加滚动条?


GridView控件已经有一个滚动条,因此没有什么是你需要做的。在Android 2.2系统,该栏将默认情况下只显示当用户刷卡积极电网。有rel=\"nofollow\">属性上的查看定义了一系列你可以用它来定制滚动条的行为。

I want to add scroll bar in gridview,How can i add scroll bar in grid view?

解决方案

I want to add scroll bar in gridview,How can i add scroll bar in grid view?

GridView already has a scrollbar, so there is nothing that you need to do. In Android 2.2, the bar will only appear by default when the user is actively swiping the grid. There are a series of attributes defined on the View class you can use to tailor the behavior of the scrollbar.

这篇关于我如何能够在网格视图中添加滚动条?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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