Bug 802588 - Use padding when calculating thumbnail size. r=sriram

This commit is contained in:
Wes Johnston 2012-10-19 17:36:24 -07:00
parent b9743083eb
commit f2e6f295c5

View File

@ -617,7 +617,7 @@ public class AboutHomeContent extends ScrollView
if (android.os.Build.VERSION.SDK_INT >= 16)
s= super.getColumnWidth();
else
s = width / mNumberOfCols;
s = (width - getPaddingLeft() - getPaddingRight()) / mNumberOfCols;
return s;
}