How to hide underbar in EditText

后端 未结 25 2005
温柔的废话
温柔的废话 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:32

    You can also define a STYLE for your editText so you can regroup all properties in common. It is very powerful if you have to multiple edit text that need to has the behaviour

    Put the code in res/values/styles.xml

    
    

    After that you just need to call it in your editText

    
    
    
    

提交回复
热议问题