MalekKamel/android-multitoggle

Not showing view on API 22

Opened this issue · 0 comments

I have applied the library as :

<com.sha.kamel.multitogglebutton.MultiToggleButton android:id="@+id/sbg_offer" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="16dp" app:layout_constraintStart_toEndOf="@+id/tv_iamlbl" app:layout_constraintTop_toTopOf="parent" mtb:labels="@array/offer_array" mtb:mtbColorPressedText="@color/colorAccent" mtb:mtbColorUnpressedText="@color/colorAccent" mtb:mtbCornerRadius="25dp" mtb:mtbPressedColor="@color/colorAccent" mtb:mtbRoundedCorners="true" mtb:mtbTextAllCaps="false" mtb:mtbUnpressedColor="@color/colorAccent" />

But it is not showing on the screen.