creating Navigation Drawer in android

i am trying to make a Navigation Drawer in android but i get this a error

1.No resource found that matches the given name: attr 'colorPrimary'.
2.No resource found that matches the given name: attr 'colorPrimaryDark'.
3.No resource found that matches the given name 'Theme.AppCompat.Light.NoActionBar'

and here is my code

<?xml version="1.0" encoding="utf-8"?>
<resources>
  <style name="Theme.DesignDemo" parent="Base.Theme.DesignDemo"></style>
  <style name="Base.Theme.DesignDemo" parent="Theme.AppCompat.Light.NoActionBar">
    <item name="colorPrimary">#2196F3</item>
    <item name="colorPrimaryDark">#1976D2</item>
  </style>
</resources>

Posts

Sign In or Register to comment.