Binary XML file line #1: Error inflating class android.support.v4.widget.Drawerlayout

Am developing a drawer layout for a mobile appllication using Xamarin Studio, when I build the application, I throws the android views inflate Exception

<?xml version="1.0" encoding="utf-8"?>

<android.support.v4.widget.Drawerlayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/myDrawer"
android:layout_width="match_parent"
android:layout_height="match_parent">






</android.support.v4.widget.Drawerlayout>

Pliz Help me

Tagged:

Posts

  • rmaciasrmacias USBeta, University ✭✭✭✭✭
    edited March 2016

    You misspelled "DrawerLayout" as Android XML is case-sensitive. It should be "DrawerLayout", not "Drawerlayout". Don't forget the close tag too.

    <?xml version="1.0" encoding="utf-8"?>
    <android.support.v4.widget.DrawerLayout 
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/myDrawer"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    
    
    
    
    
    
    </android.support.v4.widget.DrawerLayout>
    
  • HumaylHumayl AEMember ✭✭

    i did same , still same error

Sign In or Register to comment.