Fix build

This commit is contained in:
Michael Jurka committed 2011-04-05 17:08:38 -07:00
1 parent bcbd3a0dcd
commit d92e741ca6
1 file changed
+2 -2
@@ -248,10 +248,10 @@ public class PagedViewCellLayout extends ViewGroup implements Page {
// the right edge of the content of the rightmost icon
// icons are centered within cells, find out how much padding that accounts for
return getWidthBeforeLayout() - (mCellWidth - Utilities.getIconContentSize());
return getWidthBeforeFirstLayout() - (mCellWidth - Utilities.getIconContentSize());
}
int getWidthBeforeLayout() {
int getWidthBeforeFirstLayout() {
return mCellCountX * mCellWidth + (mCellCountX - 1) * mWidthGap;
}