I am developing an application and i set "android:textIsSelectable" for the TextViews.
But my material theme is not matching with the TextSelection appBar. Is there a way by which i can change the color of that appBar ??
Attached the Image Below Check it :-
Assuming you use the
appcompat-v7
library add these to your theme:¨Now I wasn't able to style the insides of the action mode (text color, icon colors) so hopefully you won't need to.
Note: If you don't use the support library prepend those style item names with
android:
. These will work above API 11+.EDIT
For an action mode background with a stroke create a new drawable and update the reference. The drawable could look like this:
In your resources styles.xml:
"android:textColorHighlight"
You can put in whatever color you choose and whatever parent theme you are using.