Edit Text Android Tutorial

EditText Tutorial – – –

Here I will discuss all EditText Attributes.

This is for creating simple EditText



    


Add ems in EditText.This makes the EditText exactly 10 ems wide. An em width is the width of the widest (M) character in the selected font.



    


Create id in EditText. ID is necessary for each android widget because by id we will access in java code and apply operation on it.
like



    


Leave a Reply