mukeshsolanki / android-otpview-pinview

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

OTP View android:textAllCaps="true" is ignored #107

Closed ablenesi closed 4 years ago

ablenesi commented 4 years ago

Subject of the issue

Setting android:textAllCaps="true" to the view does not force capps.

Steps to reproduce

Add this to a layout XML.

<com.mukesh.OtpView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:focusableInTouchMode="true"
        android:textAllCaps="true"
        tools:text="LPHgd" />

Expected behaviour

The text should be all caps Screenshot 2020-08-20 at 10 21 21

Actual behaviour

The text is not all caps Screenshot 2020-08-20 at 10 20 00

mukeshsolanki commented 4 years ago

Fixed in ver 2.1.2