This thing has been doing my head in for a little while now and I can\'t seem to be able to solve it.
I\'ve got a grid view, in which I display a few bitmaps. I add a pa
step 1:
android:stretchMode="none" android:numColumns="auto_fit" android:gravity="center"
step 2: in onMeasure return your calculated width and height