开发者

Android is there a custom widget or easy way to enter email or phone information into activity screen?

I need a super easy to use way for my users to enter phone and email information. Is there a sample of a good way to do this? I think many apps would benefit, regular EditText is way to cumbersome for user to enter such common information. Its pa开发者_开发问答rtly validation but partly just providing a super easy way to enter this information. Thanks


Androider... The following xml will launch the appropriate soft keyboard for phones and email.

<EditText android:id="@+id/EditTextSMSPhoneNumber" 
android:text="@string/edit_text_sms_phone_number" 
android:inputType= "phone"
android:hint= "@string/edit_text_sms_phone_number_hint"
android:layout_width="wrap_content" 
android:layout_height="wrap_content">
</EditText>

android:inputType= "textEmailAddress"

This may or not be helpful to you.

JAL

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜