mukeshsolanki / android-otpview-pinview

A custom view to enter otp of different sizes used usually in cases of authentication.
MIT License
714 stars 206 forks source link

app namespace does not work after migrating to androidx #70

Closed Hoss3inf closed 5 years ago

Hoss3inf commented 5 years ago

after migrating to androidx, the attributes that are related to app namespace does not work. otpView code:

 <com.mukesh.OtpView
                        android:id="@+id/edtOtp"
                        android:layout_width="wrap_content"
                        android:inputType="number"
                        android:layout_height="wrap_content"
                        android:textSize="@dimen/_16sdp"
                        app:itemCount="5"
                        style="@style/OtpWidget.OtpView"
                        android:cursorVisible="true"
                        android:layout_gravity="center"
                        app:lineColor="@color/colorPrimary"
                        android:gravity="center"
                        />

app ns: xmlns:app="http://schemas.android.com/apk/res-auto"

error:

Android resource linking failed
/Users/mac/AndroidSandBox/rgm-android/app/src/main/res/layout/activity_verify_mobile_new.xml:95: error: attribute itemCount (aka net.ragham.booking:itemCount) not found.
/Users/mac/AndroidSandBox/rgm-android/app/src/main/res/layout/activity_verify_mobile_new.xml:95: error: attribute lineColor (aka net.ragham.booking:lineColor) not found.

any suggestions?

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 5 years ago

This has been closed with no activity

yoonusc commented 5 years ago

got any solution ?