Set EditText cursor color

后端 未结 24 1831
醉话见心
醉话见心 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条回答
  •  猫巷女王i
    2020-11-22 11:48

    Wow I am real late to this party but it has had activity 17 days ago It would seam we need to consider posting what version of Android we are using for an answer so as of now this answer works with Android 2.1 and above Go to RES/VALUES/STYLES and add the lines of code below and your cursor will be black

        
    

    You will need a this line of code in your RES/COLOR folder

    #000000
    

    Why post this late ? It might be nice to consider some form of categories for the many headed monster Android has become!

提交回复
热议问题