解析XML未绑定前缀第5行时出错

时间:2014-04-03 14:03:57

标签: android xml

我的android代码出错了......我在这里做错了什么?...谢谢

        <?xml version="1.0" encoding="utf-8"?>
        <menu xmlns:android="http://schemas.android.com/apk/res/android"
         xmlns:app="http://schemas.android.com/apk/res-auto">
            <item android:id="@+id/action_search"
            android:title="Search"
            android:icon="@android:drawable/ic_menu_search"
         andorid:actionProviderClass="android.support.v7.widget.SearchActionProvider"
         app:showAsAction="always|collapseActionView"
          app:actionViewClass="android.support.v7.widget.SearchView" 
         app:actionProviderClass="android.support.v7.widget.SearchActionProvider" />
         </menu>

1 个答案:

答案 0 :(得分:0)

andorid:actionProviderClass中的错字。应该是android:actionProviderClass