Merge "Fix bug 5296851 - Silly monkeys."

This commit is contained in:
Adam Powell
2011-09-12 19:19:33 -07:00
committed by Android (Google) Code Review

View File

@@ -268,8 +268,10 @@ public class ActionBarView extends AbsActionBarView {
if (mTabScrollView != null && mIncludeTabs) {
ViewGroup.LayoutParams lp = mTabScrollView.getLayoutParams();
lp.width = LayoutParams.WRAP_CONTENT;
lp.height = LayoutParams.MATCH_PARENT;
if (lp != null) {
lp.width = LayoutParams.WRAP_CONTENT;
lp.height = LayoutParams.MATCH_PARENT;
}
mTabScrollView.setAllowCollapse(true);
}
}