Tutorial by Examples

Changing the edit text's appearance when it's selected, pressed and not selected can be customised easily by adding creating a new style for your edit text like so <style name="EditTextTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <item name="colorContr...
It is possible to specify a text hint when using EditTexts. Text hints are useful for conveying to the user what they should type in the EditText. In XML: <EditText android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="use...

Page 1 of 1