# CircularRevealAnimator
**Repository Path**: ekber/CircularRevealAnimator
## Basic Information
- **Project Name**: CircularRevealAnimator
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2018-03-01
- **Last Updated**: 2020-12-18
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
RevealLayout
============
Circular reveal animation for even lazier programmers. An extension of ozodrukh's CircularReveal.
Built for even lazier programmers.
![demo3][demo3]
Usage
-----
![demo1][demo1] ![demo2][demo2] ![demo3][demo3]
#### Simple
Simply add target reveal id attribute in `RevealFrameLayout` or `RevealLinearLayout`.
```xml
```
This animation can also be triggered programmatically.
```java
RevealFrameLayout layout = (RevealFrameLayout) findById(R.id.layout);
View target = findById(R.id.target);
Animator animator = layout.reveal(target);
animator.setDuration(500);
animator.start();
```
#### With path animation
```xml
```
```java
RevealFrameLayout layout = (RevealFrameLayout) findById(R.id.layout);
View source = findById(R.id.source);
View target = findById(R.id.target);
AnimatorSet set = layout.revealTo(source, target);
set.start();
```
#### Activity transition
See example.
Download
--------
```gradle
repositories {
maven { url 'https://maven.google.com' }
jcenter()
maven { url 'https://jitpack.io' }
}
dependencies {
compile 'com.hendraanggrian:reveallayout:0.5.3'
}
```
License
-------
Copyright 2015 Hendra Anggrian
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
http://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.
[demo1]: /art/demo1.gif
[demo2]: /art/demo2.gif
[demo3]: /art/demo3.gif