Disable/Remove floating label hint text in TextInputLayout XML

前端 未结 11 1451
一向
一向 2021-01-31 06:59

This may seem counter-intuitive but is there a way to disable or remove the floating label hint in TextInputLayout? The reason I want to use TextInputLayout

11条回答
  •  轮回少年
    2021-01-31 07:45

     
    
                
    
            
    
            
    
                
    
            
    

    for apply style to your EditText put below code in Styles.xml ..

    
    

    for backgroud effect create edittext_background.xml in drawable..

    
    
        
        
        
        
    
    

提交回复
热议问题