EditText android:inputType

October 13, 2012   ·   0 Comments

Screen Shot 2012-10-13 at 11.16.26 PM
<EditText android:id="@+id/textNormal"
			android:layout_width="fill_parent" android:layout_height="wrap_content"
			android:hint="Normal text"
			android:inputType="text"
			android:imeOptions="actionNext"
		/>
		<EditText android:id="@+id/textInteger"
			android:layout_width="fill_parent" android:layout_height="wrap_content"
			android:hint="Integer only"
			android:inputType="number"
			android:imeOptions="actionNext"
		/>
		<EditText android:id="@+id/textDecimal"
			android:layout_width="fill_parent" android:layout_height="wrap_content"
			android:hint="Decimal only"
			android:inputType="numberDecimal"
			android:imeOptions="actionNext"
		/>
		<EditText android:id="@+id/textPhone"
			android:layout_width="fill_parent" android:layout_height="wrap_content"
			android:hint="Phone number"
			android:inputType="phone"
			android:imeOptions="actionNext"
		/>
		<EditText android:id="@+id/textEmail"
			android:layout_width="fill_parent" android:layout_height="wrap_content"
			android:hint="Email"
			android:imeOptions="actionSend"
			android:inputType="textEmailAddress"
		/>
		<EditText android:id="@+id/textSite"
			android:layout_width="fill_parent" android:layout_height="wrap_content"
			android:hint="Web Site"
			android:imeOptions="actionDone"
			android:inputType="textUri"
		/>

shareShare on FacebookShare on Google+Share on LinkedInEmail this to someonePrint this pageBuffer this pageDigg thisFlattr the authorShare on RedditPin on PinterestShare on StumbleUponShare on TumblrTweet about this on Twitter

By


Readers Comments (0)


You must be logged in to post a comment.

PowenKo’s Online Store

powenko_arduinoBook
Android7

Amazon

adsbygoogle

Recent Posts

Categories

Amazon