android - 网格视图的分隔线颜色
解决方案
尝试这个
<GridView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="your_divider_color"
android:horizontalSpacing="1dp"
android:numColumns="auto_fit"
android:stretchMode="columnWidth"
android:verticalSpacing="1dp" >
在你的情况下,your_divider_color
应该是@android:color/transparen
推荐阅读
- python - How to remove HTML tags from a list of texts in Python
- asp.net - Request to AWS reveals internal server IP address
- c# - Asp.net Core 中的 Ajax 助手标签文档
- mysql - 加入来自同一个表 mysql knex 的其他结果
- ios - UIRefreshControl Selector 不调用目标 c
- sql - 检查与 SQL Server 2000/2005 的连接详细信息
- spring-boot - 为什么千分尺不会停止向 datadog 发送数据并已经关闭?
- apache-kafka - 如何知道何时在 Kafka 中提交记录?
- python - 使用命令单击绑定按钮(在 tkinter 上)
- automation - 克洛夫安装失败