Posts

Showing posts with the label Material Design

Material Design - EditText

Mostly used User Interface widget, used to take inputs from the user. It have a hint attribute, which hide while typing. After hiding the hint it becomes a problem to guess the EditText without label. Material Design is solution to this problem. A new idea of floating labels was introduced in material design to overcome this issue. Here EditText initially showed a label as a hint; but when user start input data in the EditText, that hint disappear from EditText and moves up to the top of the EditText as a floating label. We will use a Tag of material design; TextInputLayout around the EditText.