im trying to get images displayed in a GridView and get the columns automatically set, so far I\'ve had to manually set the number of columns which is not what i want to do
A better solution is to measure the width programmatically, so you won't end up with a hard-coded column width:
Android: How does GridView auto_fit find the number of columns?