When edittext is select, theme/style does not change

前端 未结 4 1588
长发绾君心
长发绾君心 2021-01-26 09:56

I have Edittext in my signup form. When user touch on edittext then edittext box turn to green( which represent that edittext is selected ) i don\'t want this. when user select

4条回答
  •  生来不讨喜
    2021-01-26 10:09

    In your styles.xml
    
    
    
    apply theme for edittext
    
    
    

    Other solution: Create selector xml file in drawables

    
    
    
    
    
    

    Add this line in edittext

    android:background="@drawable/xml name"
    

提交回复
热议问题