Skip to content

Commit

Permalink
Merge branch 'master' of github.com:skydoves/ExpandableLayout
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed Nov 2, 2019
2 parents d79369f + 1d9cb7b commit 4ba7c21
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</p>

<p align="center">
<img src="https://user-images.githubusercontent.com/24237865/65829414-49c96d80-e2e0-11e9-8e92-45e1432dc26a.gif" width="32%"/>
<img src="https://user-images.githubusercontent.com/24237865/67871177-4b05e880-fb73-11e9-8de8-965a9e67aa1e.gif" width="32%"/>
<img src="https://user-images.githubusercontent.com/24237865/65830792-bd25ac00-e2ed-11e9-8ce5-890db409ea05.gif" width="32%"/>
</p>

Expand All @@ -32,7 +32,7 @@ allprojects {
And add a dependency code to your **module**'s `build.gradle` file.
```gradle
dependencies {
implementation "com.github.skydoves:expandablelayout:1.0.1"
implementation "com.github.skydoves:expandablelayout:1.0.2"
}
```

Expand Down Expand Up @@ -125,6 +125,18 @@ expandable.setOnExpandListener {
}
```

### ExpandableAnimation
We can customize the expanding and collapsing animation.<br>
```kotlin
ExpandableAnimation.NORMAL
ExpandableAnimation.ACCELERATE
ExpandableAnimation.BOUNCE
```

NORMAL | ACCELERATE | BOUNCE
| :---------------: | :---------------: | :---------------: |
| <img src="https://user-images.githubusercontent.com/24237865/67871179-4b9e7f00-fb73-11e9-8ffe-563d64b876b4.gif" align="center" width="100%"/> | <img src="https://user-images.githubusercontent.com/24237865/67871176-4a6d5200-fb73-11e9-8d25-26c616ca7b9d.gif" align="center" width="100%"/> | <img src="https://user-images.githubusercontent.com/24237865/67871178-4b9e7f00-fb73-11e9-9f93-fef72b2d627d.gif" align="center" width="100%"/>

## ExpandableLayout Attributes
Attributes | Type | Default | Description
--- | --- | --- | ---
Expand Down
6 changes: 3 additions & 3 deletions dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
ext.versions = [
minSdk : 16,
compileSdk : 29,
versionCode : 2,
versionName : '1.0.1',
versionCode : 3,
versionName : '1.0.2',

gradleBuildTool : '3.5.0',
spotlessGradle : '3.24.2',
spotlessGradle : '3.25.0',
dokkaGradle : '0.9.17',
bintrayRelease : '0.9.1',

Expand Down

0 comments on commit 4ba7c21

Please sign in to comment.