@@ -0,0 +1,956 @@
+package com.loren.textlibrary.util;%0A%0Aimport android.text.Editable;%0Aimport android.widget.EditText;%0A%0A/**%0A *%0A * @author yuegy%0A *%0A */%0Apublic class EditTextUtils %7B%0A%0A    /**%0A     * %E8%8E%B7%E5%8F%96EditText %E7%9A%84%E5%80%BC%0A     *%0A     * @param et%0A     * @return%0A     */%0A    public static String getText(EditText et) %7B%0A        if (null == et) %7B%0A            return %22%22;%0A        %7D%0A        Editable editable = et.getText();%0A        if (null == editable) %7B%0A            return %22%22;%0A        %7D%0A        return editable.toString();%0A    %7D%0A%0A    /**%0A     * %E8%AE%BE%E7%BD%AE%E7%84%A6%E7%82%B9%0A     *%0A     * @param et%0A     */%0A    public static void setFocusable(EditText et) %7B%0A        et.setFocusable(true);%0A        et.setFocusableInTouchMode(true);%0A        et.requestFocus();%0A    %7D%0A%0A    /**%0A     * %E8%AE%BE%E7%BD%AEEditText %E7%9A%84%E5%80%BC%0A     *%0A     * @param et%0A     * @return%0A     */%0A    public static void setText(EditText et, String val) %7B%0A        if (null == et %7C%7C StringUtils.isBlank(val)) %7B%0A            return;%0A        %7D%0A        et.setText(val);%0A    %7D%0A%0A%7D%0A

add edittextutil