解决方案 »

  1.   

    找到错误了,是我大意了:<com.example.drawer.SlidingDrawer 
        android:layout_width="200dp"
        android:layout_height="fill_parent"
        android:content="@+id/lin_content"
        android:handle="@+id/iv_handle12">
    </com.example.drawer.SlidingDrawer>
    android:content属性和android:handle属性都是系统提供的属性.不是这个组件私有的属性.修改为app:content和app:handle就可以获取到相应的值得了.如下:<com.example.drawer.SlidingDrawer 
        android:layout_width="200dp"
        android:layout_height="fill_parent"
        app:content="@+id/lin_content"
        app:handle="@+id/iv_handle12">
    </com.example.drawer.SlidingDrawer>