EditText hint doesn't show
using android:ellipsize="end"
fixed it for meWeird bug !! (but Android has a lot of these weirdo bug)
In Lollipop version the default text and hint text color is white for EditText
.So we have to change like this in EditText
android:textColorHint="@color/grey"
I wanted my single-line EditText
box to scroll but keep the hint on the right also.I had the same issue and got the hint to stick by keeping gravity="right"
, and setting singleLine="true"
and ellipsize="end"
.