So I have downloaded the support library v7:22.2.1. I am trying to create a simple search view in a XML file but of course I get the error View requires API level 11 (current min is 10): . I read online that you need to use the support library in order to use search view where the min API is set to under 11. I have downloaded it and set it up in the build.gradle file.
I don't understand how to implement the support library in the XML file in order to use the SearchView widget.