Why edit text is underlined?

EditText is disabled Use a TextView instead. how can I remove underline? Use a TextView instead. Or, use a different background for the EditText, probably. I assume that the Theme.Material/Theme.AppCompat way of supplying that bracket is via the background, as it was with Theme and Theme.Holo. I have not changed the background of an EditText … Read more

I cannot change the inputType, hint anything for my EditText

You will get this result after drag and drop: <EditText android:id=”@+id/editText” android:layout_width=”match_parent” android:layout_height=”wrap_content” android:ems=”10″ android:inputType=”textPersonName” android:text=”Name” /> What you need is to do : 1. If you want hint to show remove line ” android:text=”Name”” <EditText android:id=”@+id/editText” android:layout_width=”match_parent” android:layout_height=”wrap_content” android:ems=”10″ android:inputType=”textPersonName” android:hint=”hint text goes here” />