am 11a03afa: Merge "Properly respect divider settings for TableLayout" into jb-mr1-dev

* commit '11a03afaadc626be039203d98d3d70e7d3ae7b49':
  Properly respect divider settings for TableLayout
This commit is contained in:
Adam Powell
2012-08-23 14:20:15 -07:00
committed by Android Git Automerger

View File

@@ -184,6 +184,10 @@ public class TableLayout extends LinearLayout {
mShrinkableColumns = new SparseBooleanArray(); mShrinkableColumns = new SparseBooleanArray();
} }
// TableLayouts are always in vertical orientation; keep this tracked
// for shared LinearLayout code.
setOrientation(VERTICAL);
mPassThroughListener = new PassThroughHierarchyChangeListener(); mPassThroughListener = new PassThroughHierarchyChangeListener();
// make sure to call the parent class method to avoid potential // make sure to call the parent class method to avoid potential
// infinite loops // infinite loops