am 7b7280fd: am 6ec44395: Merge "Fix issue #3403539: WordPress crashes on Honeycomb" into honeycomb

* commit '7b7280fd074e598dfa5351cdbef33984b7e36b76':
  Fix issue #3403539: WordPress crashes on Honeycomb
This commit is contained in:
Dianne Hackborn
2011-01-28 16:37:13 -08:00
committed by Android Git Automerger

View File

@@ -132,7 +132,17 @@ public class TabWidget extends LinearLayout implements OnFocusChangeListener {
mRightStrip = resources.getDrawable(
com.android.internal.R.drawable.tab_bottom_right_v4);
}
}
} else {
// Use modern color scheme for Eclair and beyond
if (mLeftStrip == null) {
mLeftStrip = resources.getDrawable(
com.android.internal.R.drawable.tab_bottom_left);
}
if (mRightStrip == null) {
mRightStrip = resources.getDrawable(
com.android.internal.R.drawable.tab_bottom_right);
}
}
// Deal with focus, as we don't want the focus to go by default
// to a tab other than the current tab