GridView添加网格线
2016-05-05 12:09
302 查看
<GridView
android:background="@color/gray"
android:columnWidth="60dp"
android:numColumns="5"
android:listSelector="@null"
android:verticalSpacing="1.0px"
纵向的横线
android:horizontalSpacing="1.0px"
横向的纵线
android:soundEffectsEnabled="true"
android:smoothScrollbar="true"
android:stretchMode="columnWidth"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_above="@+id/llayout2"
android:layout_below="@+id/llayout1"/>
//Item
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
>
android:background="@color/gray"
android:columnWidth="60dp"
android:numColumns="5"
android:listSelector="@null"
android:verticalSpacing="1.0px"
纵向的横线
android:horizontalSpacing="1.0px"
横向的纵线
android:soundEffectsEnabled="true"
android:smoothScrollbar="true"
android:stretchMode="columnWidth"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_above="@+id/llayout2"
android:layout_below="@+id/llayout1"/>
//Item
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
>
相关文章推荐
- Android Studio开发环境变量配置
- android广播的使用方式
- x264编码指南——码率控制
- 请教一个问题:关于 webrtc 通信的问题
- 《Linux内核设计与实现》第17章读书笔记
- Django session 详解-part II-session
- js代码的调试
- java 中== equal hashcode()什么的之间的关系
- android dialog activity
- POJ 1773 Parity game 带权并查集
- git仓库之间同步
- MYSQL必知必会读书笔记第六章之过滤数据
- Python MySQLdb在Linux下的快速安装
- MVC 导出excel
- PHP生成静态HTML页面简单方法
- StringAPI
- 【NoSql】redis安装&部署
- 冒泡
- 利用java制作一个小的目录查询器
- Flume Push数据到spark streaming或者接收Spark streaming的poll数据时实际运行程序总结