EditText hint doesn't show

前端 未结 10 1736
生来不讨喜
生来不讨喜 2020-12-05 04:23

My EditText configured as follows won\'t show the hint:



        
10条回答
  •  一整个雨季
    2020-12-05 04:47

    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".

提交回复
热议问题