if (border != null) inset += border.getBorderInsets(null).right; inset += rightPadding;
    public float getInset(int size, View v)    {      float inset;      switch (size)        {        case View.TOP:          inset = topInset;          break;        case View.BOTTOM:          inset = bottomInset;          break;        case View.LEFT:          inset = leftInset;          break;        case View.RIGHT:          inset = rightInset;          break;        default:          inset = 0.0F;      }      return inset;    }