Skip to content
المشاريع

wangshaolei/AutoFillEmailEditText

عرض على GitHub

حول

Auto Fill the custom email to EditText

الإنتاجية والأتمتة

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

AutoFillEmailEditText

Auto fill the custom email to EditText

Step1

<declare-styleable name="AutoFillEmailEditText">
    <attr name="AutoFillEmailEditText_domains" format="string"/> //email's domain, split ','(en) and first char must be with '/'
    <attr name="AutoFillEmailEditText_default_drop_down_key_color" format="color"/>//drop down word color
    <attr name="AutoFillEmailEditText_default_drop_down_bg" format="reference"/>//drop down bg
    <attr name="AutoFillEmailEditText_default_drop_down_divider" format="boolean"/>//drop down divider
</declare-styleable>

Step2

<com.len.library.AutoFillEmailEditText
  android:id="@+id/et_mail"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:layout_marginLeft="20dp"
  android:layout_marginRight="20dp"
  android:layout_marginTop="10dp"
  android:drawablePadding="10dp"
  android:hint="邮箱地址"
  android:singleLine="true"
  android:textSize="15sp"
  app:AutoFillEmailEditText_default_drop_down_divider="true"
  app:AutoFillEmailEditText_domains="/@qq.com,@gmail.com,@126.com,@163.com" //notice
/>

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…