Open IvanKnyaziev opened 5 years ago
implementation 'com.github.medyo:fancybuttons:1.8.4' use this version instead of 1.9.0 this worked for me
Setting android:clickable="true"
worked for me.
Setting a focus color worked for me:
fancy:fb_focusColor="@color/white"
Took example from samples but it has no ripple effect. Am I missing something? <mehdi.sakout.fancybuttons.FancyButton android:id="@+id/btn_instagram" android:layout_width="64dp" android:layout_height="64dp" android:layout_marginStart="8dp" android:layout_marginTop="8dp" android:layout_marginBottom="8dp" android:padding="10dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/btnAmbientVibes" fancy:fb_defaultColor="#3f729b" fancy:fb_focusColor="#313131" fancy:fb_iconPaddingLeft="0dp" fancy:fb_iconPaddingRight="0dp" fancy:fb_iconResource="@drawable/instagram" fancy:fb_radius="64dp"/>