Fix Tabwidget copy/paste bug.

Change-Id: I8e75ec65353748ec794862cfb0e76653ba4fc428
This commit is contained in:
Marco Nelissen
2010-03-22 11:20:48 -07:00
parent 189f65c12f
commit db54ea0fb6

View File

@@ -221,7 +221,7 @@ public class TabWidget extends LinearLayout implements OnFocusChangeListener {
* @param drawable the right strip drawable
*/
public void setRightStripDrawable(Drawable drawable) {
mBottomLeftStrip = drawable;
mBottomRightStrip = drawable;
requestLayout();
invalidate(); }
@@ -232,7 +232,7 @@ public class TabWidget extends LinearLayout implements OnFocusChangeListener {
* right strip drawable
*/
public void setRightStripDrawable(int resId) {
mBottomLeftStrip = mContext.getResources().getDrawable(resId);
mBottomRightStrip = mContext.getResources().getDrawable(resId);
requestLayout();
invalidate();
}