I want to use the Switchcompat in my application. I added the appcompat v7 support library into my project but when i am trying to use the switchcompat in my xml it is giving me following error :
The following classes could not be found: - android.support.v7.widget.SwitchCompat (Fix Build Path, Edit XML, Create Class)
From the error I am guessing that my project is not able to refer the library project even though i have added the library project as shown :
My XML is as follows:
<android.support.v7.widget.SwitchCompat
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
Kindly help what is the issue.Thanks in advance.