0
No source identifier for the attribute "validatorRegexp"

我最近开始研究 android 应用程序,我想在我的应用程序中访问库(这是一个项目),但上面的错误显示

                <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
4

1 回答 1

0

Is it your incorrect spelling of the word widget throughout your XML? If you don't get the right namespace and use elements from this incorrect namespace, you will get errors.

Also, it's hard to help without know what library you're using/extending.

于 2013-02-09T06:56:05.413 回答