My android project minimum API 10. Support v4 included.
In the android doc i found selector state "activated"

But when i try use it, IDE mark it as missed.

Here https://stackoverflow.com/... and here https://stackoverflow.com/questions/92.. this state looks like a solution to my problem, but i can not use it.
It looks like it may be a bug in the docs. It shows it from the screen you are showing but if you go to the R.attr class and look at the corresponding variable then it is greyed out with API 10 selected and to the left it shows requires API 11

Sorry, my graphic arts skills aren't great but zoom in and you will see.
Here is a solution that may or may not work for what you need. I didn't read through the whole example but you can give it a look.
And Here is a SO answer dealing with the same issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With