Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ripple effect doesn't work #128

Open
IvanKnyaziev opened this issue Feb 4, 2019 · 3 comments
Open

ripple effect doesn't work #128

IvanKnyaziev opened this issue Feb 4, 2019 · 3 comments

Comments

@IvanKnyaziev
Copy link

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"/>

@schixor88
Copy link

implementation 'com.github.medyo:fancybuttons:1.8.4'
use this version instead of 1.9.0
this worked for me

@null-dev
Copy link

Setting android:clickable="true" worked for me.

@roman-ku
Copy link

roman-ku commented Sep 4, 2023

Setting a focus color worked for me:
fancy:fb_focusColor="@color/white"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants