Android

Set space between columns and rows for GridView

Posted on

At times you may need to set Space between columns and rows for in GridView. Set following attributes of GridView To set space between rows android:verticalSpacing=”2dp” To set space between columns android:horizontalSpacing=”2dp” Sample screeshot.. Cheers.. You may be also interested in Simple Weekview calendar implemented using GridView ScrollView auto scroll to show content in app […]