hariprasanths / Bounceview Android
Licence: apache-2.0
Customizable bounce animation for any view like in Clash Royale app
Stars: ✭ 142
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Bounceview Android
Crab
JavaScript library for building user interfaces with Custom Elements, Shadow DOM and React like API
Stars: ✭ 22 (-84.51%)
Mutual labels: library, view
Fillingbutton
🔥Replace typical onLongClickListener with this library!
Stars: ✭ 31 (-78.17%)
Mutual labels: library, view
Weatherview
WeatherView is an Android Library let you make cool weather animations for your app
Stars: ✭ 426 (+200%)
Mutual labels: library, view
Candyview
Implement any RecyclerView in just 1 Line. CandyView handles everything for you.
Stars: ✭ 15 (-89.44%)
Mutual labels: library, view
Transitioner
A library for dynamic view-to-view transitions
Stars: ✭ 2,049 (+1342.96%)
Mutual labels: library, view
Mindo
Generate mind maps easily in your android app.
Stars: ✭ 52 (-63.38%)
Mutual labels: library, view
Speedview
Dynamic Speedometer and Gauge for Android. amazing, powerful, and multi shape ⚡️
Stars: ✭ 1,035 (+628.87%)
Mutual labels: library, view
Incrementproductview
Interesting concept of products incrementation
Stars: ✭ 262 (+84.51%)
Mutual labels: library, view
Floatingtoast
Android library to create customizable floating animated toasts like in Clash Royale app
Stars: ✭ 86 (-39.44%)
Mutual labels: library, view
Goview
Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.
Stars: ✭ 213 (+50%)
Mutual labels: library, view
Popview Android
Pop animation with circular dust effect for any view updation
Stars: ✭ 487 (+242.96%)
Mutual labels: library, view
Spannabletextview
SpannableTextView is a custom TextView which lets you customize the styling of slice of your text or statment via Spannables, but without the hassle of having to deal directly with Spannable themselves.
Stars: ✭ 177 (+24.65%)
Mutual labels: library, view
Androidlibs
🔥正在成为史上最全分类 Android 开源大全~~~~(长期更新 Star 一下吧)
Stars: ✭ 7,148 (+4933.8%)
Mutual labels: library, view
Slidingsquareloaderview
Marvelous sliding square loader view
Stars: ✭ 166 (+16.9%)
Mutual labels: library, view
Movingnumbersview
Moving numbers effect in SwiftUI
Stars: ✭ 175 (+23.24%)
Mutual labels: library, view
Hhcustomcorner
Awesome library to customize corners of UIView and UIButton. Now you can customize each corner differently
Stars: ✭ 36 (-74.65%)
Mutual labels: library, view
Bounceview-Android
Customizable bounce animation for any view updation
Getting Started
In your build.gradle
dependencies {
implementation 'hari.bounceview:bounceview:0.2.0'
}
Usage
Add animations to any views like so:
Button button = view.findViewById(R.id.button);
BounceView.addAnimTo(button);
Use BounceView with dialogs:
CustomDialog customDialog = new CustomDialog(getActivity());
//Add animation to custom dialog
BounceView.addAnimTo(customDialog); //Call before showing the dialog
customDialog.show();
PopupWindow popupWindow;
...
//Add animation to popup window
BounceView.addAnimTo(popupWindow); //Call before showing the popup
popupWindow.showAtLocation(parentView, Gravity.CENTER, 0, 0);
AlertDialog dialog = builder.create();
//Add animation to alert dialog
BounceView.addAnimTo(dialog); //Call before showing the dialog
dialog.show();
Some cool animations:
//Bounce animation
BounceView.addAnimTo(button1)
.setScaleForPopOutAnim(1.1f, 1.1f);
//Horizontal flip animation
BounceView.addAnimTo(button2)
.setScaleForPopOutAnim(1f, 0f);
//Vertical flip animation
BounceView.addAnimTo(button3)
.setScaleForPopOutAnim(0f, 1f);
//Flicker animation
BounceView.addAnimTo(button4)
.setScaleForPopOutAnim(0f, 0f);
Customize BounceView properties:
Button button = view.findViewById(R.id.button);
BounceView.addAnimTo(button)
//Default push in scalex: 0.9f , scaley: 0.9f
.setScaleForPushInAnim(BounceView.PUSH_IN_SCALE_X, BounceView.PUSH_IN_SCALE_Y)
//Default pop out scalex: 1.1f, scaley: 1.1f
.setScaleForPopOutAnim(BounceView.POP_OUT_SCALE_X, BounceView.POP_OUT_SCALE_Y)
//Default push in anim duration: 100 (in milliseconds)
.setPushInAnimDuration(BounceView.PUSH_IN_ANIM_DURATION)
//Default pop out anim duration: 100 (in milliseconds)
.setPopOutAnimDuration(BounceView.POP_OUT_ANIM_DURATION)
//Default interpolator: AccelerateDecelerateInterpolator()
.setInterpolatorPushIn(BounceView.DEFAULT_INTERPOLATOR)
.setInterpolatorPopOut(BounceView.DEFAULT_INTERPOLATOR);
Credits
Inspired by and thanks to TheKhaeng's Push Down Animation Click
Show your support
Give a ⭐️ if this project helped you!
License
Copyright ©️ 2018 Hariprasanth S
This project is licensed under the Apache License, Version 2.0
You may also obtain a copy of the License at
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].