MaterialComponents.TextInputLayout.OutlinedBox it doesn't work properly boxBackgroundColor

前端 未结 2 1674
花落未央
花落未央 2020-11-30 14:20

I use material. I\'m going to use a color for TextInputLayout for the backdrop, but something like the one below! hint background not change.i used style and wanted to make

2条回答
  •  余生分开走
    2020-11-30 14:39

    If you don't like to use custom edit text, you can modify your code this way:

    activity_main.xml

     
    
    
        
    
            
    
        
    
    
        
    
    

    And in boarder.xml

       
    
    
        
    
    

    Output will be:

提交回复
热议问题