项目
在 GitHub 查看
wangshaolei/AutoFillEmailEditText
关于
Auto Fill the custom email to EditText
效率与自动化实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
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
/>

探索相关项目
加载中…