Android 开发资料

gridview拖拽

https://www.cnblogs.com/aimqqroad-13/p/8761453.html  

https://blog.csdn.net/xiaanming/article/details/17718579

 

=============

开源项目: https://github.com/Trinea/android-open-project

=========

reyclerview 强推

https://github.com/quartack/bdapter

----------------------------------------------------------------------------

1、listview 设置行间距 参考:https://blog.csdn.net/qq_26420489/article/details/50370510

1.设置item的行间距:
可以在xml布局文件中的listView下设置xml属性:
android:divider="#00000000"
android:dividerHeight="18dp"
解释:分隔线透明,高度为18dp。

 


2.去掉item之间的分割线:
每个item之间都有分割线,如果单纯想去掉分割线,方法还是很多的:
法1:设置android:divider="@null"
法2:android:divider="@00000000" 后两个0标识透明
法3:setDividerHeight(0);高度设为0
————————————————

2、样式设置

https://blog.csdn.net/weixin_37577039/article/details/79090433

 

posted @ 2022-02-25 08:03  小毛编  阅读(39)  评论(0)    收藏  举报