I\'m trying to implement the Navigation Drawer as shown here: http://developer.android.com/training/implementing-navigation/nav-drawer.html#top
My code seems to be ok,
May be you have found your answer but i think its for those who still wants to know. so, here's my answer,
For Android Studio:
First of all you need to add External Jar
Now, you will see, no more errors like this.
For Eclipse:
Refer this link, Click here
You need to make sure you are using the latest support library as the DrawerLayout
and other items were added in the May 2013 release.
Added DrawerLayout for creating a Navigation Drawer that can be
pulled in from the edge of a window.
You need to reference the support library in your project dependencies. Import the jar package into your java build path using the Project/Properties/Java Build Path/Libraries tab and use the button 'Add External JARs....'
Now compile the project.