RippleEffect alternatives and similar packages
Based on the "Material Widget" category.
Alternatively, view RippleEffect alternatives based on common mentions on social networks and blogs.
-
material-design-icons
Material Design icons by Google -
material-dialogs
😍 A beautiful, fluid, and extensible dialogs API for Kotlin & Android. -
MaterialDesignLibrary
This is a library with components of Android L to you use in android 2.2 -
MaterialDrawer
The flexible, easy to use, all in one drawer library for your Android project. Now brand new with material 2 design. -
MaterialViewPager
A Material Design ViewPager easy to use library -
android-floating-action-button
Floating Action Button for Android based on Material Design specification -
Carbon
Material Design implementation for Android 4.0+. Shadows, ripples, vectors, fonts, animations, widgets, rounded corners and more. -
material-menu
Animations for Android L drawer, back, dismiss and check icons -
materialish-progress
A material style progress wheel compatible with 2.3 -
material-ripple
Android L Ripple effect wrapper for Views -
MaterialDialog
An Android library for conveniently building Material Design Dialog in Android version 2.2 ~ L. -
MaterialProgressBar
Material Design ProgressBar with consistent appearance -
MaterialNavigationDrawer
Navigation Drawer Activity with material design style and simplified methods -
MaterialList
An Android library aimed to get the beautiful CardViews that Google shows at its official design specifications -
material-range-bar
Android widget for selecting a range of values. -
MaterialTabs
Custom Tabs with Material Design effects. It requires 14+ API and android support v7 (Toolbar) -
MaterialEverywhere
Showcase of the new AppCompat 21, which includes new Material Theme, working in pre-21 devices. -
snackbar
[DEPRECATED] Android Library that implements Snackbars from Google's Material Design documentation. -
Horizontal Calendar
A material horizontal calendar view for Android based on RecyclerView -
AndroidMaterialDesignToolbar
Android Sample Project with Material Design and Toolbar. -
MaterialPowerMenu
A demo of the power menu with Reveal and other animations -
CircularProgressView
A Material style circular progress bar for Android -
Material Dialogs for Android 📱
📱Android Library to implement animated, 😍beautiful, 🎨stylish Material Dialog in android apps easily. -
material-drawer
Custom drawer implementation for Material design apps. -
ZDepthShadowLayout
Android - draw z-depth shadow of MaterialDesign -
android-materialshadowninepatch
Provides 9-patch based drop shadow for view elements. Works on API level 9 or later. -
uberprogressview
:hourglass_flowing_sand: An android progress view developed after taking inspiration from Uber app. -
AdvancedMaterialDrawer
A Gmail-like Material Drawer implementation -
Android-Material-circular-button
Animated Material circular button -
Android-DialogFragments
Various DialogFragments for Android.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of RippleEffect or a related project?
README
RippleEffect
ExpandableLayout provides an easy way to create a view called header with an expandable view. Both view are external layout to allow a maximum of customization. You can find a sample that how to use an ExpandableLayout to your layout.
Integration
The lib is available on Maven Central, you can find it with Gradle, please
dependencies {
compile 'com.github.traex.rippleeffect:library:1.3'
}
Usage
RippleView
Declare a RippleView inside your XML layout file with a content like an ImageView or whatever.
<com.andexert.library.RippleView
android:id="@+id/more"
android:layout_width="?android:actionBarSize"
android:layout_height="?android:actionBarSize"
android:layout_toLeftOf="@+id/more2"
android:layout_margin="5dp"
rv_centered="true">
<ImageView
android:layout_width="?android:actionBarSize"
android:layout_height="?android:actionBarSize"
android:src="@android:drawable/ic_menu_edit"
android:layout_centerInParent="true"
android:padding="10dp"
android:background="@android:color/holo_blue_dark"/>
</com.andexert.library.RippleView>
If you want to know when the Ripple effect is finished, you can set a listener on your view
rippleView.setOnRippleCompleteListener(new RippleView.OnRippleCompleteListener() {
@Override
public void onComplete(RippleView rippleView) {
Log.d("Sample", "Ripple completed");
}
});
If you want to add an OnClickListener
don't forget to add it to the RippleView like this:
final RippleView rippleView = (RippleView) findViewById(R.id.rippleView);
rippleView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
//TODO: onRippleViewClick
}
});
Customization
You can change several attributes in the XML file, you have to remove "rv_" if you are using a version below v1.1.1 :
- app:rv_alpha [integer def:90 0-255] --> Alpha of the ripple
- app:rv_framerate [integer def:10] --> Frame rate of the ripple animation
- app:rv_rippleDuration [integer def:400] --> Duration of the ripple animation
- app:rv_ripplePadding [dimension def:0] --> Add a padding to the ripple
- app:rv_color [color def:@android:color/white] --> Color of the ripple
- app:rv_centered [boolean def:false] --> Center ripple in the child view
- app:rv_type [enum (simpleRipple, doubleRipple) def:simpleRipple] --> Simple or double ripple
- app:rv_zoom [boolean def:false] --> Enable zoom animation
- app:rv_zoomDuration [integer def:150] --> Duration of zoom animation
- app:rv_zoomScale [float def:1.03] --> Scale of zoom animation
For each attribute you can use getters and setters to change values dynamically.
Troubleshooting
If you want to use the double ripple you have to set a background for the RippleView or for its child.
Acknowledgements
Thanks to Google for its Material Design :)
MIT License
The MIT License (MIT)
Copyright (c) 2014 Robin Chutaux
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*Note that all licence references and agreements mentioned in the RippleEffect README section above
are relevant to that project's source code only.