eclipse - Property detection android -


in ios textview has property detection detects whether string valid phone number, or email link ..

this property exists in android?

thanks

in xml can set android:inputtype of textview instance email can use

<edittext     android:id="@+id/edittext1"     android:layout_width="match_parent"     android:layout_height="0dp"     android:layout_weight="1"     android:ems="10"     android:inputtype="textemailaddress" /> 

and phone number can use.

    <edittext     android:id="@+id/edittext1"     android:layout_width="match_parent"     android:layout_height="0dp"     android:layout_weight="1"     android:ems="10"     android:inputtype="phone" /> 

Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

The canvas has been tainted by cross-origin data in chrome only -