Issue: change border color or box stroke for unfocused TextInputLayout in android

前端 未结 3 2115
醉话见心
醉话见心 2020-12-24 13:00

I have a very specific issue for changing the outline of the textbox for TextInputLayout when it\'s unfocused. I can\'t seem to find an attribute to change the color for the

3条回答
  •  萌比男神i
    2020-12-24 13:35

    Answer from Amjad was right, but starting from 1.1.0-alpha02 (probably even alpha01) after this issue was resolved it's possible to define color in color state list using the same boxStrokeColor attribute, e.g. how it's done in lib:

    
      
      
      
      
    
    

提交回复
热议问题