2013-02-09 43 views
0
No source identifier for the attribute "validatorRegexp" 

我最近開始在Android應用程序的工作,我想在我的應用程序來訪問庫(這是一個項目),但上述錯誤顯示我得到一個錯誤「沒有源IDENTIFER的屬性」

   <ScrollView 
        xmlns:android="http://schemas.android.com/apk/res/android" 
        xmlns:wiget="http://schemas.android.com/apk/res/com.extend.example" 
        android:id="@+id/scroll" android:layout_width="fill_parent" 
        android:layout_height="wrap_content"> 

        <com.extend.wiget.ExtEditText 
          wiget:validate="regexp|numeric|alpha|alphaNumeric|email|creditCard|phone|domainName|ipAddress|webUrl" 
          wiget:validatorRegexp="regexp|empty" 
          wiget:errorString="Custom error message!" 
          wiget:emptyErrorString="Custom empty error message!" 
          wiget:auto="true" 
          android:id="@+id/extEditText11" 
          android:layout_width="match_parent" 
          android:layout_height="wrap_content" 
          android:hint="Custom validations" 
          android:text=""> 
         </com.extend.wiget.ExtEditText> 

       </ScrollView> 

       Please help me out on this and sorry for the bad english 

回答

0

難道你整個XML中的單詞widget的拼寫錯誤嗎?如果你沒有得到正確的命名空間並使用這個不正確的命名空間中的元素,你將會得到錯誤。

此外,很難不知道你正在使用/擴展的庫。

+0

Thnaks爲您的快速響應, – p1234 2013-02-09 06:59:36

+0

Thnaks爲您的快速響應,我想發送我的源代碼給你,你可以請給我你的郵件編號,或者建議我一些替代 – p1234 2013-02-09 07:12:31

+0

請找到我的代碼在http:// 109.169.36.212:60/fileserver/zipfile/editview.zip – p1234 2013-02-09 08:01:13

相關問題