How to hide underbar in EditText

后端 未结 25 2012
温柔的废话
温柔的废话 2020-11-28 00:52

How can I hide the EditText underbar (the prompt line with little serifs at the ends)?

There might be a better way to do what I want: I have a layout with an EditTe

25条回答
  •  难免孤独
    2020-11-28 01:31

    If you are using the EditText inside TextInputLayout use app:boxBackgroundMode="none" as following:

    
    
        
    
    
    

提交回复
热议问题