protected void onDraw(Canvas paramCanvas) {
   super.onDraw(paramCanvas);
   int i = getHeight();
   int j = mCurrText.getLeft();
   int k = mTabPadding;
   int m = mCurrText.getRight();
   int n = mTabPadding;
   int i1 = mIndicatorHeight;
   mTabPaint.setColor(mTabAlpha << 24 | mIndicatorColor & 0xFFFFFF);
   paramCanvas.drawRect(j - k, i - i1, m + n, i, mTabPaint);
   if (mDrawFullUnderline) {
     mTabPaint.setColor(0xFF000000 | mIndicatorColor & 0xFFFFFF);
     paramCanvas.drawRect(
         getPaddingLeft(), i - mFullUnderlineHeight, getWidth() - getPaddingRight(), i, mTabPaint);
   }
 }
  @Override
  protected void onDraw(Canvas canvas) {
    super.onDraw(canvas);

    final int height = getHeight();
    final int bottom = height;
    final int left = mCurrText.getLeft() - mTabPadding;
    final int right = mCurrText.getRight() + mTabPadding;
    final int top = bottom - mIndicatorHeight;

    mTabPaint.setColor(mTabAlpha << 24 | (mIndicatorColor & 0xFFFFFF));
    canvas.drawRect(left, top, right, bottom, mTabPaint);

    if (mDrawFullUnderline) {
      mTabPaint.setColor(0xFF << 24 | (mIndicatorColor & 0xFFFFFF));
      canvas.drawRect(
          getPaddingLeft(),
          height - mFullUnderlineHeight,
          getWidth() - getPaddingRight(),
          height,
          mTabPaint);
    }
  }