Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/commit451/alakazam
Android animation made magical
https://github.com/commit451/alakazam
android animation kotlin
Last synced: 2 months ago
JSON representation
Android animation made magical
- Host: GitHub
- URL: https://github.com/commit451/alakazam
- Owner: Commit451
- License: apache-2.0
- Created: 2016-10-24T14:49:18.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2022-06-27T04:26:49.000Z (over 2 years ago)
- Last Synced: 2024-04-13T03:18:25.341Z (9 months ago)
- Topics: android, animation, kotlin
- Language: Kotlin
- Size: 116 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Alakazam
Android animation made magical[![Build Status](https://travis-ci.org/Commit451/Alakazam.svg?branch=master)](https://travis-ci.org/Commit451/Alakazam) [![](https://jitpack.io/v/Commit451/Alakazam.svg)](https://jitpack.io/#Commit451/Alakazam)
# Gradle Dependency
Add the jitpack url to the project:
```groovy
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
```
then, in your app `build.gradle`
```groovy
dependencies {
implementation "com.github.Commit451:Alakazam:latest.version.here"
}
```# Usage
Lots of prebuilt `ObjectAnimator`s can be accessed via extension methods including:
- view.widthAnimator()
- view.heightAnimator()
- textview.textColorAnimator()
- view.backgroundColorAnimator()
- window.statusBarColorAnimator()
- window.navigationBarColorAnimator()For fading views in and out:
```kotlin
icon.fadeOut()
otherIcon.fadeIn()
```License
--------Copyright 2018 Commit 451
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 athttp://www.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.