aabhasr1 / OtpView

A custom view to enter otp/pin of different sizes used usually in cases of authentication.
MIT License
377 stars 99 forks source link

app:hide_otp_drawable="" #29

Closed Mustafa-Altameemi closed 3 years ago

Mustafa-Altameemi commented 3 years ago

When I use this attribute .. the shape will fill whole the box even if I make the vector width and height ="1dp"

<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="1dp"
    android:height="1dp"
    android:viewportWidth="48"
    android:viewportHeight="48">
  <path
      android:pathData="M24,24m-24,0a24,24 0,1 1,48 0a24,24 0,1 1,-48 0"
      android:fillColor="#241F20"/>
</vector>

2021-02-23_111846