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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user