'I need to create a OTP Screen where submit button should be disabled& once the boxes are filled button should be enabled &colour should change

<com.chaos.view.PinView
 android:id="@+id/pvEnterPin"
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:inputType="number"
 app:itemCount="4"
 style="@style/PinWidget.PinView"
 android:cursorVisible="true"
 app:cursorColor="@color/black"/>

I am using this library to create the Pinview.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source