{"id":19020163,"url":"https://github.com/gayanvoice/android-animations","last_synced_at":"2025-04-15T03:54:32.165Z","repository":{"id":108916302,"uuid":"209241190","full_name":"gayanvoice/android-animations","owner":"gayanvoice","description":"Perform tweened animations such as Attention, Bounce, Fade, Flip, Rotate, Slide and Zoom on Views","archived":false,"fork":false,"pushed_at":"2022-11-30T13:03:13.000Z","size":4464,"stargazers_count":153,"open_issues_count":3,"forks_count":27,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-15T03:54:16.743Z","etag":null,"topics":["android","animation","animation-effects","easing-functions","view","viewanimator"],"latest_commit_sha":null,"homepage":"https://git.io/JeCRG","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gayanvoice.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-18T07:04:46.000Z","updated_at":"2025-02-12T09:52:37.000Z","dependencies_parsed_at":"2023-04-21T02:32:15.580Z","dependency_job_id":null,"html_url":"https://github.com/gayanvoice/android-animations","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gayanvoice%2Fandroid-animations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gayanvoice%2Fandroid-animations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gayanvoice%2Fandroid-animations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gayanvoice%2Fandroid-animations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gayanvoice","download_url":"https://codeload.github.com/gayanvoice/android-animations/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249003954,"owners_count":21196794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","animation","animation-effects","easing-functions","view","viewanimator"],"created_at":"2024-11-08T20:15:59.060Z","updated_at":"2025-04-15T03:54:32.159Z","avatar_url":"https://github.com/gayanvoice.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android View Animations in Java\n[![Build Status](https://travis-ci.org/gayanvoice/android-animations.svg?branch=master)](https://travis-ci.org/gayanvoice/android-animations) [![](https://jitpack.io/v/gayanvoice/android-view-animations-java.svg)](https://jitpack.io/#gayanvoice/android-view-animations-java) [![API](https://img.shields.io/badge/API-14%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=14) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/gayanvoice/android-view-animations-java)\n\n\u003cimg width=\"360\" alt=\"Android View Animations in Java\" src=\"https://gayanvoice.github.io/android-animations/static/media/2-android-view-animations-java.1fe3487e.gif\"\u003e \u003cimg width=\"360\" alt=\"Android View Animations in Java\" src=\"https://gayanvoice.github.io/android-animations/static/media/0-android-view-animations-java.57f29c80.gif\"\u003e\n\n## Get\n### Gradle\n1. Add this to `build.gradle` of project gradle dependency\n\n```groovy\nallprojects {\n\trepositories {\n\t\t...\n \t\tmaven { url 'https://jitpack.io' }\n\t}\n}\n```\n\n2. Add this to `build.gradle` of app gradle dependency\n\n```groovy\ndependencies {\n\timplementation 'com.github.gayanvoice:android-animations:1.0.2'\n}\n```\n\n### Or\n\n### Maven\n\n1. Add this to `build.gradle` of project gradle dependency\n\n```xml\n\u003crepositories\u003e\n\t\u003crepository\u003e\n\t\t\u003cid\u003ejitpack.io\u003c/id\u003e\n\t    \t\u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n\t\u003c/repository\u003e\n\u003c/repositories\u003e\n```\n\n2. Add this to `build.gradle` of module gradle dependency\n\n```xml\n\u003cdependency\u003e\n\t\u003cgroupId\u003ecom.github.gayanvoice\u003c/groupId\u003e\n\t\u003cartifactId\u003eandroid-animations\u003c/artifactId\u003e\n\t\u003cversion\u003e1.0.2\u003c/version\u003e\n\u003c/dependency\u003e\n```\n## Usage\n### Import render animations\n\n```java\nimport render.animations.*;\n```\n\n### Start animation\n\n```java\n// Declare TextView\nTextView AppleText = findViewById(R.id.TextView);\n\n// Create Render Class\nRender render = new Render(MainActivity.this);\n\n// Set Animation\nrender.setAnimation(Attention.Wobble(AppleText));\nrender.start();\n```\n\n## Animations\n\nTo animate the view, add the class name and specific animation method name`setAnimation` 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:\n\n| Class Name  |             |             |             |             |             |\t\t  |\n| ----------- | ----------- | ----------- | ----------- | ----------- | ----------- | ----------- |\n| `Attention` | `Bounce`    | `Fade`      | `Flip   `   | `Rotate`    | `Slide`     | `Zoom`      |\n\n### Attention\n\n| `Attention`       |                    |  \t\t      |                    |\n| ----------------- | ------------------ | ------------------ | ------------------ |\n| `Bounce`|\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/1-attention-bounce.c6335f3d.gif\"\u003e| `Flash`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/2-attention-flash.27fb56e5.gif\"\u003e|\n| `Pulse`           |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/3-attention-pulse.ee6d1fae.gif\"\u003e| `Ruberband`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/4-attention-ruberband.a701fa5b.gif\"\u003e|\n| `Shake`           |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/5-attention-shake.62d9243a.gif\"\u003e| `Standup`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/6-attention-standup.553e1945.gif\"\u003e|\n| `Swing`           |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/7-attention-swing.602dd7aa.gif\"\u003e| `Tada`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/8-attention-tada.faa9f3c1.gif\"\u003e|\n| `Wave`            |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/9-attention-wave.9a37979d.gif\"\u003e| `Wobble`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/10-attention-wobble.42ac8c56.gif\"\u003e|\n\n### Bounce\n\n| `Bounce`\t    |                    |       \t      |                    |\n| ----------------- | ------------------ | ------------------ | ------------------ |\n| `InDown`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/15-bounce-in-down.6aad1cbd.gif\"\u003e| `InUp`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/13-bounce-in-up.7a1d7c17.gif\"\u003e|\n| `InLeft`           |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/11-bounce-in-left.ebc9bc0f.gif\"\u003e| `InRight`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/12-bounce-in-right.a66d3b31.gif\"\u003e|\n| `In`           |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/14-bounce-in.2ef584a6.gif\"\u003e\t|\t\t|\t\t|\n\n### Fade\n\n| `Fade`            |                    |                    |                    |\n| ----------------- | ------------------ | ------------------ | ------------------ |\n| `InDown`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/18-fade-in-down.24e645e6.gif\"\u003e| `InUp`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/19-fade-in-up.a2b79fa7.gif\"\u003e|\n| `InLeft`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/16-fade-in-left.6e93da17.gif\"\u003e| `InRight`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/17-fade-in-right.59345f8c.gif\"\u003e|\n| `OutDown`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/22-fade-out-down.4f4ebc27.gif\"\u003e| `OutUp`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/25-fade-out-up.75f60e2d.gif\"\u003e|\n| `OutLeft`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/20-fade-out-left.7f1583e0.gif\"\u003e| `OutRight`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/21-fade-out-right.ff6adf09.gif\"\u003e|\n| `In`               |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/23-fade-in.532822b1.gif\"\u003e| `Out`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/24-fade-out.a3ee0d3a.gif\"\u003e|\n\n### Flip\n\n| `Flip`            |                    |                    |                    |\n| ----------------- | ------------------ | ------------------ | ------------------ |\n| `InX`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/26-flip-in-x.1de9f264.gif\"\u003e| `InY`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/27-flip-in-y.8f45c5e1.gif\"\u003e|\n| `OutX`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/28-flip-out-x.09be8ac3.gif\"\u003e| `OutY`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/29-flip-out-y.f5c532a8.gif\"\u003e|\n\n### Rotate\n\n| `Rotate`          |                    |                    |                    |\n| ----------------- | ------------------ | ------------------ | ------------------ |\n| `InDownLeft`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/30-rotate-in-down-left.cdd124aa.gif\"\u003e| `InDownRight`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/31-rotate-in-down-right.f0693f8b.gif\"\u003e|\n| `InUpLeft`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/32-rotate-in-up-left.f818146d.gif\"\u003e| `InUpRight`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/33-rotate-in-up-right.537606e2.gif\"\u003e|\n| `OutDownLeft`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/34-rotate-out-down-left.de06d895.gif\"\u003e| `OutDownRight`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/35-rotate-out-down-right.f4505ac5.gif\"\u003e|\n| `OutUpLeft`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/39-rotate-up-left.de13c028.gif\"\u003e| `OutUpRight`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/36-rotate-out-up-right.ddb7df75.gif\"\u003e|\n| `In`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/37-rotate-in.08924c36.gif\"\u003e| `Out`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/38-rotate-out.b127d7a8.gif\"\u003e|\n\n### Slide\n\n| `Slide`           |                    |                    |                    |\n| ----------------- | ------------------ | ------------------ | ------------------ |\n| `InDown`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/40-slide-in-down.efa18709.gif\"\u003e| `InUp`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/43-slide-in-up.0f918432.gif\"\u003e|\n| `InLeft`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/41-slide-in-left.da5a9127.gif\"\u003e| `InRight`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/42-slide-in-right.f0e33c31.gif\"\u003e|\n| `OutDown`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/44-slide-out-down.269616ff.gif\"\u003e| `OutUp`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/47-slide-out-up.7efa439e.gif\"\u003e|\n| `OutLeft`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/45-slide-out-left.4226eca7.gif\"\u003e| `OutRight`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/46-slide-out-right.f283b64b.gif\"\u003e|\n\n### Zoom\n\n| `Zoom`            |                    |                    |                    |\n| ----------------- | ------------------ | ------------------ | ------------------ |\n| `InDown`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/48-zoom-in-down.6e41a799.gif\"\u003e| `InUp`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/51-zoom-in-up.40e3a26e.gif\"\u003e|\n| `InLeft`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/49-zoom-in-left.82604bb4.gif\"\u003e| `InRight`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/50-zoom-in-right.a419ab92.gif\"\u003e|\n| `OutDown`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/52-zoom-out-down.cb3ee254.gif\"\u003e| `OutUp`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/57-zoom-out-up.0c74d038.gif\"\u003e|\n| `OutLeft`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/53-zoom-out-left.79cb419d.gif\"\u003e| `OutRight`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/54-zoom-out-right.7a3ac74d.gif\"\u003e|\n| `In`          |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/55-zoom-in.1c0c5d5a.gif\"\u003e| `Out`              |\u003cimg width=\"200\" alt=\"portfolio_view\" src=\"https://gayanvoice.github.io/android-animations/static/media/56-zoom-out.f0c52b21.gif\"\u003e|\n\n## Develop the library\n\n1. Select `Git` from `Check out project from Version Control` in your Android Studio\n2. Paste the repository url and click `Clone` button\n3. Click `Yes` to open the repository\n4. `Build` using the latest `Gradle` version\n\nGo to https://github.com/gayanvoice/android-vpn-client-ics-openvpn#develop see the steps\n\n## Thanks\nThis 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\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgayanvoice%2Fandroid-animations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgayanvoice%2Fandroid-animations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgayanvoice%2Fandroid-animations/lists"}