I use selector for styling EditTexts. I want to get rid of orange color, when I doubleTap on my EditText. I use this:
states.addState(new int[] {R.attr.textColorHighlight}, getResources().getDrawable(R.color.transparent));
But it doesn't make any difference! Does any body know why? and interestingly this part of the code works well:
states.addState(new int[] {R.attr.state_focused}, getResources().getDrawable(R.color.transparent));
But I don't want to change the state, when focuced!