Grid spacing fixes

- Restoring old grid for widgets
- Disabling ability to add widgets to hotseat
- Updating holo colors
- Updating assets

Change-Id: I3a639f0afeca9463f8079eb8fbaedf295a41fa0f
This commit is contained in:
Winson Chung
2011-08-03 17:06:35 -07:00
parent 459814b7e6
commit ea359c6aee
138 changed files with 54 additions and 44 deletions
+2 -1
View File
@@ -432,6 +432,7 @@ public abstract class PagedView extends ViewGroup {
int maxChildHeight = 0;
final int verticalPadding = mPaddingTop + mPaddingBottom;
final int horizontalPadding = mPaddingLeft + mPaddingRight;
// The children are given the same width and height as the workspace
@@ -458,7 +459,7 @@ public abstract class PagedView extends ViewGroup {
}
final int childWidthMeasureSpec =
MeasureSpec.makeMeasureSpec(widthSize, childWidthMode);
MeasureSpec.makeMeasureSpec(widthSize - horizontalPadding, childWidthMode);
final int childHeightMeasureSpec =
MeasureSpec.makeMeasureSpec(heightSize - verticalPadding, childHeightMode);