Set EditText cursor color

后端 未结 24 1765
醉话见心
醉话见心 2020-11-22 10:57

I am having this issue where I am using the Android\'s Holo theme on a tablet project. However, I have a fragment on screen which has a white background. I am adding an

24条回答
  •  暖寄归人
    2020-11-22 11:49

    For me I modified both the AppTheme and a value colors.xml

    
    

    Here is the colors.xml

    
    
        #B7EC2A
    
    

    I took out the android:textCursorDrawable attribute to @null that I placed inside the editText style. When I tried using this, the colors would not change.

提交回复
热议问题