We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 865a175 + c3c0e39 commit 11a03afCopy full SHA for 11a03af
core/java/android/widget/TableLayout.java
@@ -184,6 +184,10 @@ private void initTableLayout() {
184
mShrinkableColumns = new SparseBooleanArray();
185
}
186
187
+ // TableLayouts are always in vertical orientation; keep this tracked
188
+ // for shared LinearLayout code.
189
+ setOrientation(VERTICAL);
190
+
191
mPassThroughListener = new PassThroughHierarchyChangeListener();
192
// make sure to call the parent class method to avoid potential
193
// infinite loops
0 commit comments