I have three things 1. EditText 2. Button1(Blue) 3. Button2(Green)
I want to change the color of the text in Edit text (which user is typing) in accordance to the button click.
I have used setTextColor(Color.BLUE) and setTextColor(Color.GREEN) in the respective onClickListener of the above Buttons.
Problem : Now the problem is when i click any of the first button it works fine. When i click another button , it changes the color of the text which has already been typed by the user. I dont want that. I want to change the color of the string from the current cursor position onwards.
the new thread boost feature: great for the advertiser and smooth for the coderanch user