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

widgetXML 全体で単語のスペルが間違っていませんか? 適切な名前空間を取得せず、この不適切な名前空間の要素を使用すると、エラーが発生します。

また、使用/拡張しているライブラリを知らずに助けることは困難です。

于 2013-02-09T06:56:05.413 に答える