1.两列之间的间距。
android:horizontalSpacing
函数:setHorizontalSpacing(int)
2.两行之间的间距。
android:verticalSpacing
函数:setVerticalSpacing(int)
<com.mlxxy.xzhan.ilPlayer.MyGridView android:id="@+id/player_list_view" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="40dp" android:horizontalSpacing="9dp" android:numColumns="2" android:paddingLeft="9dp" android:paddingRight="9dp" android:verticalSpacing="6dp" />
喜欢可以加群号:913934649