Fix Tabwidget copy/paste bug.
Change-Id: I8e75ec65353748ec794862cfb0e76653ba4fc428
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user