All Projects → gayanvoice → android-animations

gayanvoice / android-animations

Licence: MIT license
Perform tweened animations such as Attention, Bounce, Fade, Flip, Rotate, Slide and Zoom on Views

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to android-animations

FeedbackAnimSample
An attempt to code feedback animation UI inspired from https://site.uplabs.com/posts/web-feedback
Stars: ✭ 57 (-51.69%)
Mutual labels:  view, viewanimator
Viewanimator
A fluent Android animation library
Stars: ✭ 2,656 (+2150.85%)
Mutual labels:  view, viewanimator
CheckableTextView
A simple and flexible Checked TextView or Checkable TextView
Stars: ✭ 108 (-8.47%)
Mutual labels:  view
simple-analog-clock
Simple clock view for displaying uh...time?
Stars: ✭ 24 (-79.66%)
Mutual labels:  view
Coroutines-Animations
Use the power of kotlin coroutines to execute your android animations
Stars: ✭ 31 (-73.73%)
Mutual labels:  view
LockerScreen
Android lock screen,slide to unlock ! 安卓锁屏,上滑解锁,效果酷炫,值得拥有!
Stars: ✭ 81 (-31.36%)
Mutual labels:  view
XRadarView
A highly customizable radar view for Android
Stars: ✭ 106 (-10.17%)
Mutual labels:  view
goopylib
A simple-yet-powerful 2D graphics framework built on top of Tkinter capable of creating good-looking & modern GUIs, games, and simple animations.
Stars: ✭ 19 (-83.9%)
Mutual labels:  easing-functions
SMDiagramView
Diagram View for iOS
Stars: ✭ 44 (-62.71%)
Mutual labels:  view
RMGradientView
A Custom Gradient View Control for iOS with inspectable properties.
Stars: ✭ 24 (-79.66%)
Mutual labels:  view
LPThumbnailView
A thumbnail view for iOS to give context to multiple images/videos using thumbnails and counter.
Stars: ✭ 54 (-54.24%)
Mutual labels:  view
render react
Pre-render and mount React components from Ruby
Stars: ✭ 14 (-88.14%)
Mutual labels:  view
MyCircleMenu
Android-自定义view之圆形与“半圆形”菜单
Stars: ✭ 33 (-72.03%)
Mutual labels:  view
pine-script-mode
GNU Emacs Major mode for Trading View pine script
Stars: ✭ 18 (-84.75%)
Mutual labels:  view
TabBar
📱 TabBar – highly customizable tab bar for your SwiftUI application.
Stars: ✭ 105 (-11.02%)
Mutual labels:  view
view
Yii view rendering library
Stars: ✭ 42 (-64.41%)
Mutual labels:  view
AndroidAnimationView
🚌🚌🚌android 动画、自定义控件,学习记录demo
Stars: ✭ 30 (-74.58%)
Mutual labels:  view
LuckPan
幸运转盘,可以控制选中指定的奖项。
Stars: ✭ 15 (-87.29%)
Mutual labels:  view
google streetview
A command line tool and module for Google Street View Image API
Stars: ✭ 77 (-34.75%)
Mutual labels:  view
TimelineView
A customizable and easy-to-use Timeline View library for Android. Works as a RecyclerView decorator (ItemDecoration)
Stars: ✭ 169 (+43.22%)
Mutual labels:  view

Android View Animations in Java

Build Status API GitHub code size in bytes

Android View Animations in Java Android View Animations in Java

Get

Gradle

  1. Add this to build.gradle of project gradle dependency
allprojects {
	repositories {
		...
 		maven { url 'https://jitpack.io' }
	}
}
  1. Add this to build.gradle of app gradle dependency
dependencies {
	implementation 'com.github.gayanvoice:android-animations:1.0.2'
}

Or

Maven

  1. Add this to build.gradle of project gradle dependency
<repositories>
	<repository>
		<id>jitpack.io</id>
	    	<url>https://jitpack.io</url>
	</repository>
</repositories>
  1. Add this to build.gradle of module gradle dependency
<dependency>
	<groupId>com.github.gayanvoice</groupId>
	<artifactId>android-animations</artifactId>
	<version>1.0.2</version>
</dependency>

Usage

Import render animations

import render.animations.*;

Start animation

// Declare TextView
TextView AppleText = findViewById(R.id.TextView);

// Create Render Class
Render render = new Render(MainActivity.this);

// Set Animation
render.setAnimation(Attention.Wobble(AppleText));
render.start();

Animations

To animate the view, add the class name and specific animation method namesetAnimation to an view. You can include the method setDuration to specify duration of animation. Default value for duration is 1000 Milliseconds. Finally you need to add one of the following classes to the view:

Class Name
Attention Bounce Fade Flip Rotate Slide Zoom

Attention

Attention
Bounce portfolio_view Flash portfolio_view
Pulse portfolio_view Ruberband portfolio_view
Shake portfolio_view Standup portfolio_view
Swing portfolio_view Tada portfolio_view
Wave portfolio_view Wobble portfolio_view

Bounce

Bounce
InDown portfolio_view InUp portfolio_view
InLeft portfolio_view InRight portfolio_view
In portfolio_view

Fade

Fade
InDown portfolio_view InUp portfolio_view
InLeft portfolio_view InRight portfolio_view
OutDown portfolio_view OutUp portfolio_view
OutLeft portfolio_view OutRight portfolio_view
In portfolio_view Out portfolio_view

Flip

Flip
InX portfolio_view InY portfolio_view
OutX portfolio_view OutY portfolio_view

Rotate

Rotate
InDownLeft portfolio_view InDownRight portfolio_view
InUpLeft portfolio_view InUpRight portfolio_view
OutDownLeft portfolio_view OutDownRight portfolio_view
OutUpLeft portfolio_view OutUpRight portfolio_view
In portfolio_view Out portfolio_view

Slide

Slide
InDown portfolio_view InUp portfolio_view
InLeft portfolio_view InRight portfolio_view
OutDown portfolio_view OutUp portfolio_view
OutLeft portfolio_view OutRight portfolio_view

Zoom

Zoom
InDown portfolio_view InUp portfolio_view
InLeft portfolio_view InRight portfolio_view
OutDown portfolio_view OutUp portfolio_view
OutLeft portfolio_view OutRight portfolio_view
In portfolio_view Out portfolio_view

Develop the library

  1. Select Git from Check out project from Version Control in your Android Studio
  2. Paste the repository url and click Clone button
  3. Click Yes to open the repository
  4. Build using the latest Gradle version

Go to https://github.com/gayanvoice/android-vpn-client-ics-openvpn#develop see the steps

Thanks

This library is based on https://github.com/daimajia/AndroidViewAnimations and the Kotlin version of this library is available in https://github.com/gayanvoice/android-view-animations-kotlin

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].