ExpandableListView 嵌套gridView使用
来源:互联网 发布:金星跟老公 知乎 编辑:程序博客网 时间:2024/05/18 10:55
文章实现了如下图的布局,在ExpandableListView 中嵌套了GridView 。值得注意的几个地方:
1、ExpandableListView 滚动出现group背景色变黑的解决方式
toolbarGrid.setCacheColorHint(0x00000000);
或者
android:cacheColorHint="#00000000"
但要注意的是AndroidManifest.xml中 application的主题的parent要是或者继承自 android:Theme.Light
2、去掉group默认的三角标记 android:groupIndicator="@null"
3、为group添加图片和文字 参见代码的FollowListViewAdapter类的getGroupLayout 和 getGroupView 两个方法
4、为禁止gridView出现滚动条,FollowListView类中的onMeasure方法
其它代码参见源代码 http://download.csdn.net/detail/u011123829/5723815
- ExpandableListView 嵌套gridView使用
- android中ExpandableListView嵌套GridView使用
- ExpandableListView嵌套GridView
- ExpandableListView嵌套GridView
- expandableListView嵌套GridView
- ListView嵌套GridView 带条目标题 使用ExpandableListView解决
- expandablelistview学习--在listView里面嵌套GridView
- expandablelistview学习--在listView里面嵌套GridView
- expandablelistview学习--在listView里面嵌套GridView
- expandablelistview学习--在listView里面嵌套GridView
- expandablelistview学习--在listView里面嵌套GridView
- ExpandableListView里面嵌套GridView的问题
- Android ExpandableListView 中完美嵌套 GridView
- Android ExpandableListView 中完美嵌套 GridView
- Android ExpandableListView 中完美嵌套 GridView
- ExpandableListView嵌套Gridview显示不全的问题
- 教你用两层ExpandableListView嵌套GridView实现三级展示界面
- 可折叠的listview的demo...(listview 嵌套 gridview)ExpandableListView
- JavaScript 学习笔记(一)
- 数据库中的表结构、索引、视图、存储过程、触发器以及自定义函数
- linux网络编程
- find 和 grep 的结合使用
- android平滑滚动特效-Android ListView
- ExpandableListView 嵌套gridView使用
- 数学之美系列十七:闪光的不一定是金子 谈谈搜索引擎作弊问题(Search Engine Anti-SPAM)
- XPath常用定位节点元素语句总结
- 关于webx参数传递的问题
- MySQL通信协议
- IAAS云计算产品畅想-云主机的产品定位
- Ubuntu下,查看文件的属性,以及修改
- VS2008中DLL的编写与调用
- JAVA的默认字符编码