TextInputLayout :How to give padding or margin to hint?

后端 未结 15 1861
离开以前
离开以前 2020-11-28 06:42

I have to use TextInputLayout of design support library in my project. I want to give space between hint and EditText in TextInp

15条回答
  •  一整个雨季
    2020-11-28 07:17

    This a late answer but hope it helps, And I thinks its a bit better solution. Rather then giving background to your editText , Give that background to your TextInputLayout . And set edittext layout to transparent.

    
    
                    
                
    

提交回复
热议问题