private static StateListDrawable createStateListDrawable(Drawable drawable[]) {
        if (drawable == null || drawable.length < 4)
            return null;
        StateListDrawable states = new StateListDrawable();
        states.addState(new int[]{android.R.attr.state_pressed, android.R.attr.state_enabled}, drawable[0]);
        states.addState(new int[]{android.R.attr.state_focused, android.R.attr.state_enabled}, drawable[1]);
        states.addState(new int[]{android.R.attr.state_enabled}, drawable[2]);
        states.addState(new int[]{-android.R.attr.state_enabled}, drawable[3]);
        return states;
    }
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