code: private void initClearButton() {
          if (mClearButtonEnabled) {
              final Drawable[] drawables = getCompoundDrawables();
              mTappableDrawable = ((drawables != null && drawables[2] != null)
                      ? drawables[2]
                      : getContext().getResources().getDrawable(mClearButtonResId));
              if (mTappableDrawable != null) {
                  mTappableDrawable.setBounds(0,
                          0,
                          mTappableDrawable.getIntrinsicWidth(),
                          mTappableDrawable.getIntrinsicHeight());
                  setOnClearClickListener(new DefaultClearButtonClickListener(this));
              }
          }
      }
docs: /* Private Methods