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

set ripple fullscreen color and alpha #125

Open
ntaloventi opened this issue Feb 3, 2017 · 0 comments
Open

set ripple fullscreen color and alpha #125

ntaloventi opened this issue Feb 3, 2017 · 0 comments

Comments

@ntaloventi
Copy link

I have implement ripple with floating action button, works perfectly, but if I want to expand ripple to match screen size and set color to custom color then its only fire by tap on button, if I set layout RippleView to match_parent, ripple goes wider but how to prevent ripple if tap from outside?
how could I achieve this?

<com.andexert.library.RippleView android:id="@+id/ripple" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="5dp" rv_centered="true" android:layout_alignParentBottom="true" android:layout_alignParentEnd="true" android:layout_alignParentRight="true" android:layout_marginBottom="10dp" android:layout_marginRight="10dp" android:layout_marginEnd="10dp"> <android.support.design.widget.FloatingActionButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:clickable="true" app:srcCompat="@mipmap/ic_add_black_36dp" android:id="@+id/fabMenu" app:fabSize="normal" app:backgroundTint="@color/colorPrimary" android:tint="@color/white" app:elevation="5dp" /> </com.andexert.library.RippleView>

Thanks

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

1 participant