Loading core/java/android/widget/TableLayout.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -710,6 +710,7 @@ public class TableLayout extends LinearLayout { */ */ public LayoutParams(ViewGroup.LayoutParams p) { public LayoutParams(ViewGroup.LayoutParams p) { super(p); super(p); width = MATCH_PARENT; } } /** /** Loading @@ -717,6 +718,10 @@ public class TableLayout extends LinearLayout { */ */ public LayoutParams(MarginLayoutParams source) { public LayoutParams(MarginLayoutParams source) { super(source); super(source); width = MATCH_PARENT; if (source instanceof TableLayout.LayoutParams) { weight = ((TableLayout.LayoutParams) source).weight; } } } /** /** Loading Loading
core/java/android/widget/TableLayout.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -710,6 +710,7 @@ public class TableLayout extends LinearLayout { */ */ public LayoutParams(ViewGroup.LayoutParams p) { public LayoutParams(ViewGroup.LayoutParams p) { super(p); super(p); width = MATCH_PARENT; } } /** /** Loading @@ -717,6 +718,10 @@ public class TableLayout extends LinearLayout { */ */ public LayoutParams(MarginLayoutParams source) { public LayoutParams(MarginLayoutParams source) { super(source); super(source); width = MATCH_PARENT; if (source instanceof TableLayout.LayoutParams) { weight = ((TableLayout.LayoutParams) source).weight; } } } /** /** Loading