Backboard alternatives and similar packages
Based on the "Animations" category.
Alternatively, view Backboard alternatives based on common mentions on social networks and blogs.
-
Lottie for Android, iOS, and React Native
Render After Effects animations natively on Android and iOS, Web, and React Native -
Material-Animations
Android Transition animations explanation with examples. -
UltimateAndroidReference
:rocket: Ultimate Android Reference - Your Road to Become a Better Android Developer -
ListViewAnimations
An Android library which allows developers to easily add animations to ListView items -
AndroidImageSlider
An amazing and convenient Android image slider. -
NineOldAndroids
Android library for using the Honeycomb animation API on all versions of the platform back to 1.0! -
Rebound
A Java library that models spring dynamics and adds real world physics to your app. -
shimmer-android
An easy, flexible way to add a shimmering effect to any view in an Android app. -
transitions-everywhere
Set of extra Transitions on top of Jetpack Transitions Library -
PhotoEditor
A Photo Editor library with simple, easy support for image editing using paints,text,filters,emoji and Sticker like stories. -
ChatKit for Android
Android library. Flexible components for chat UI implementation with flexible possibilities for styling, customizing and data management. Made by Stfalcon -
android-flip
A component for flip animation on Android, which is similar to the effect in Flipboard iPhone/Android -
CircleIndicator
A lightweight indicator like in nexus 5 launcher -
RecyclerViewItemAnimators
An Android library which provides simple Item animations to RecyclerView items -
Spotlight
Android Library that lights items for tutorials or walk-throughs etc... -
ViewPagerTransforms
Library containing common animations needed for transforming ViewPager scrolling for Android v13+. -
AnimationEasingFunctions
Android Animation Easing Functions. Let's make animation more real! -
android-ripple-background
A beautiful ripple animation for your app -
FabulousFilter
Android library to animate Floating Action Button to Bottom Sheet Dialog and vice-versa -
CircularReveal
Lollipop ViewAnimationUtils.createCircularReveal for everyone 4.0+ -
ShimmerLayout
DEPRECATED - Memory efficient shimmering effect for Android applications by Supercharge. -
Rich Path Animator
💪 Rich Android Path. 🤡 Draw as you want. 🎉 Animate much as you can. -
BaseAnimation
BaseAnimation network Android animation set, custom controls, nearly 200 kinds of source code! BaseAnimation, if a new version is updated automatically to remind everyone, I hope everyone will contribute their animated XML files or other source, together to create this open source app! -
Stfalcon ImageViewer
A simple and customizable Android full-screen image viewer with shared image transition support, "pinch to zoom" and "swipe to dismiss" gestures -
EasyAndroidAnimations
Easy Android Animations is an animation library that aims to make android animations easier, with 50+ builtin animations, it allows you to introduce many complex animation effects in your application with one or two lines of code. -
SpeedView
Dynamic Speedometer and Gauge for Android. amazing, powerful, and multi shape :zap: -
PreLollipopTransition
Simple tool which help you to implement activity and fragment transition for pre-Lollipop devices. -
ColorPickerView
🎨 Android colorpicker for getting colors from any images by tapping on the desired color. -
EasyFlipView
💳 A quick and easy flip view through which you can create views with two sides like credit cards, poker cards etc. -
TransitionPlayer
Android library to control Transition animates. A simple way to create a interactive animation. -
WhatTodo
A Simple Todo app design in Flutter to keep track of your task on daily basis. Its build on BLoC Pattern. You can add a project, labels, and due-date to your task also you can sort your task on the basis of project, label, and dates -
ArcAnimator
ArcAnimator helps to create arc transition animation: 2.3.+ -
FragmentAnimations
3D animation examples for support-v4 Fragment transition. -
Road Runner
Road Runner is a library for android which allow you to make your own loading animation using a SVG image -
EasingInterpolator
Thirty-one different easing animation interpolators for Android. -
TreeView
Android GraphView is used to display data in graph structures. -
Youtube UI/UX Animation
With MVVM Architecture pattern using Android Architecture Components This is a sample app demonstrating Youtube player animation using constraint layout -
AppIntroAnimation
AppIntroAnimation is a set of code snippets to make cool intro screen for your app with special Image Translation and Transformation animation effects. It is very easy to use and customize without adding third party library integrations. -
Dachshund Tab Layout
Extended Android Tab Layout with animated indicators that have continuous feedback. -
TextFieldBoxes
Material Design text field that comes in a box, based on (OLD) Google Material Design guidelines. -
fab-transformation
Support Floating Action Button transformation for Android -
React Native Tabbar Interaction
Tabbar Component For React-Native
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 Backboard or a related project?
README
[the backboard icon](backboard-example/src/main/res/mipmap-xxhdpi/ic_launcher.png?raw=true)
Backboard
A motion-driven animation framework for Android.
backboard
is a framework on top of rebound that makes it easier to use by coupling it to views and motions.
backboard-example
is an Android app with a few demos of animations made possible by Backboard.
[follow animation](../screenshots/screenshots/follow.gif?raw=true) [bloom animation](../screenshots/screenshots/bloom.gif?raw=true) [scale animation](../screenshots/screenshots/scale.gif?raw=true)
Table of Contents
Usage
Update your build.gradle
with
dependencies {
compile 'com.facebook.rebound:rebound:0.3.8'
compile 'com.tumblr:backboard:0.1.0'
}
Getting Started
Backboard is a framework on top of rebound that manages how Springs
are used and simplifies the
most common use cases:
- Actions, such as
MotionEvents
, are mapped toSprings
viaImitators
. Springs
are mapped toViews
and view properties viaPerformers
.
In addition, an Actor
wraps the above objects and provides a simple interface for mapping touch motion to a view's position - dragging.
Performers
A Performer
takes the current value of a Spring
and sets it as the value of a view property.
Spring bounce = SpringSystem.create().createSpring();
Performer xMotion = new Performer(view, View.TRANSLATION_X);
bounce.addListener(xMotion);
for those saving screen space, a fluent interface is available:
Spring bounce = SpringSystem.create().createSpring().addListener(new Performer(view, View.TRANSLATION_X));
Imitators
An Imitator
constantly perturbs the Spring
it is attached to. This perturbation can originate a variety of sources:
- A
MotionEvent
, where theSpring
can change based on the action (ACTION_DOWN
,ACTION_UP
), or imitate a property (x
,y
, etc.). These are calledEventImitators
. - Another
Spring
, which leads to results similar to springs being chained together. These are calledSpringImitators
.
Imitating Touch
An EventImitator
primarily operates with OnTouchListeners
. The simplest example is a ToggleImitator
, which toggles between two different values depending on the touch state:
view.setOnTouchListener(new ToggleImitator(spring, 0, 1));
when the user touches the view, a value of 1
is set on the spring, and when the user releases, a value of 0
is set.
Imitating Motion
A MotionImitator
is a special type of EventImitator
that maps x and y movement to a spring. This is done with MotionProperty
enums, which specifies which methods to call in a MotionEvent
object. For example, MotionProperty.X.getValue(MotionEvent)
calls event.getX()
. It also specifies the view property to animate - MotionEvent.X.getViewProperty()
corresponds to View.TRANSLATION_X
. This is useful for the Actor
builder later on. In addition, tracking and following strategies allow for customization of how the event value is mapped to the spring.
Tracking Strategies
Two tracking strategies are available to configure how an imitator tracks its imitatee.
TRACK_ABSOLUTE
maps the imitatee value directly to the spring.TRACK_DELTA
maps the change in the imitatee value (relative to the initial touch) to the spring.
Follow Strategies
Two follow strategies are available to configure how the spring is updated.
FOLLOW_EXACT
maps the imitatee value directly to the current and end value of the spring.FOLLOW_SPRING
maps the imitatee value to the end value of the spring (which allows the spring to overshoot the current position)
Imitating Springs
A SpringImitator
is also a SpringListener
. When the Spring
it is imitating updates, it updates the end value of the Spring
it is controlling. Usage is simple:
SpringSystem springSystem = SpringSystem.create();
Spring leader = springSystem.createSpring();
Spring follower = springSystem.createSpring();
SpringImitator follow = new SpringImitator(follower);
leader.addListener(follow);
Actors
Even though backboard reduces a significant amount of boilerplate code, the Actor
class further simplifes view motion by connecting each component together. It also manages a View.onTouchListener()
(a MotionListener
), which it attaches to the View
automatically (this can be disabled). Here is how to create one:
Actor actor = new Actor.Builder(SpringSystem.create(), view)
.addTranslateMotion(MotionProperty.X)
.build();
in two dimensions:
Actor actor = new Actor.Builder(SpringSystem.create(), view)
.addTranslateMotion(MotionProperty.X)
.addTranslateMotion(MotionProperty.Y)
.build();
Two calls to addTranslateMotion(MotionProperty)
are needed because each axis is independent of the other. The builder will create an OnTouchListener
and attach it to the View
, as well as a Spring
with the default settings. A Performer
is also created and attached to the Spring
. When there is a touch event, it is passed to the MotionImitator
, which perturbs the spring, which moves the view.
It is also possible to supply your own SpringSystem
, Spring
, MotionImitator
and Performer
, and the builder will properly connect them. The first example above can also be expressed as:
SpringSystem springSystem = SpringSystem.create();
Spring spring = springSystem.createSpring();
Actor verbose = new Actor.Builder(springSystem, view)
.addMotion(spring, new MotionImitator(spring, MotionProperty.X),
new Performer(view, View.TRANSLATION_X)
.build();
The View
can be also left out of the constructor of the Performer
and the Spring
out of the MotionImitator
(using the default SpringConfig
), since the builder will connect them.
Actor walk = new Actor.Builder(SpringSystem.create(), walker)
.addMotion(
new MotionImitator(MotionProperty.X),
new Performer(View.TRANSLATION_X))
.build();
which can be further simplified to
Actor run = new Actor.Builder(SpringSystem.create(), runner).addMotion(MotionProperty.X, View.TRANSLATION_X).build();
and for more sugar, the previous case:
Actor bolt = new Actor.Builder(SpringSystem.create(), bolter).addTranslateMotion(MotionProperty.X).build();
Actor Options
requestDisallowTouchEvent()
causes theActor
to callViewParent.requestDisallowTouchEvent(true)
which is helpful when the view is inside aListView
or another view that captures touch events.dontAttachMotionListener()
tells the builder to not attach theMotionListener
to theView
, which is useful when you want to attach your ownOnTouchListener
to the view.
Dependencies
Contact
License
Copyright 2015-2016 Tumblr, Inc.
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*Note that all licence references and agreements mentioned in the Backboard README section above
are relevant to that project's source code only.