Loading core/java/android/widget/RelativeLayout.java +2 −2 Original line number Diff line number Diff line Loading @@ -536,7 +536,7 @@ public class RelativeLayout extends ViewGroup { // the right of each child view width += mPaddingRight; if (mLayoutParams.width >= 0) { if (mLayoutParams != null && mLayoutParams.width >= 0) { width = Math.max(width, mLayoutParams.width); } Loading Loading @@ -566,7 +566,7 @@ public class RelativeLayout extends ViewGroup { // the bottom of each child view height += mPaddingBottom; if (mLayoutParams.height >= 0) { if (mLayoutParams != null && mLayoutParams.height >= 0) { height = Math.max(height, mLayoutParams.height); } Loading Loading
core/java/android/widget/RelativeLayout.java +2 −2 Original line number Diff line number Diff line Loading @@ -536,7 +536,7 @@ public class RelativeLayout extends ViewGroup { // the right of each child view width += mPaddingRight; if (mLayoutParams.width >= 0) { if (mLayoutParams != null && mLayoutParams.width >= 0) { width = Math.max(width, mLayoutParams.width); } Loading Loading @@ -566,7 +566,7 @@ public class RelativeLayout extends ViewGroup { // the bottom of each child view height += mPaddingBottom; if (mLayoutParams.height >= 0) { if (mLayoutParams != null && mLayoutParams.height >= 0) { height = Math.max(height, mLayoutParams.height); } Loading