private void initHintTitleText() {
        if (isShowTitle()) {
            // Set up a default TextPaint object
            if (mTitlePaint == null) {
                mTitlePaint = new TextPaint(Paint.ANTI_ALIAS_FLAG);
                mTitlePaint.density = getResources().getDisplayMetrics().density;
                mTitlePaint.setTextAlign(Paint.Align.LEFT);
                mTitlePaint.setTypeface(getTypeface());
            }

            // Add Watcher
            if (mTextWatcher == null) {
                mTextWatcher = new TextWatcher() {
                    @Override
                    public void beforeTextChanged(CharSequence s, int start, int count, int after) {
                    }

                    @Override
                    public void onTextChanged(CharSequence s, int start, int before, int count) {
                    }

                    @Override
                    public void afterTextChanged(Editable s) {
                        checkShowTitle(s, false);
                    }
                };
                addTextChangedListener(mTextWatcher);
            }

            // try show
            Editable editable = getEditableText();
            checkShowTitle(editable, false);
        } else {
            if (mTextWatcher != null) {
                removeTextChangedListener(mTextWatcher);
                mTextWatcher = null;
            }

            mTitlePaint = null;
            mCurTitleProperty = null;
            mAnimator = null;
        }
    }
EditText
This have a title from hint
<p>
<p><strong>XML attributes</strong></p>
<p>
See {@link net.qiujuer.genius.ui.R.styleable#EditText_gFont Attributes},
{@link net.qiujuer.genius.ui.R.styleable#EditText_gHintTitle Attributes},
{@link net.qiujuer.genius.ui.R.styleable#EditText_gHintTitlePaddingBottom Attributes}
{@link net.qiujuer.genius.ui.R.styleable#EditText_gHintTitlePaddingLeft Attributes}
{@link net.qiujuer.genius.ui.R.styleable#EditText_gHintTitlePaddingRight Attributes}
{@link net.qiujuer.genius.ui.R.styleable#EditText_gHintTitlePaddingTop Attributes}
{@link net.qiujuer.genius.ui.R.styleable#EditText_gHintTitleTextSize Attributes}
{@link net.qiujuer.genius.ui.R.styleable#EditText_gLineColor Attributes}
{@link net.qiujuer.genius.ui.R.styleable#EditText_gLineSize Attributes}
caprice/ui/src/main/java/net/qiujuer/genius/ui/widget/EditText.java