TextInputLayout :How to give padding or margin to hint?

后端 未结 15 1864
离开以前
离开以前 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:21

    Just add to your EditText custom background

    
    
    
            
                 // your padding value
            
        
    // customize your background items if you need
    
    
        
    

    then apply it to your EditText and increase height of your EditText with your padding value if you use fix height

提交回复
热议问题