Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The lib is available on Maven Central, you can find it with [Gradle, please](htt
``` xml

dependencies {
compile 'com.github.traex.expandablelayout:library:1.2.2'
compile 'com.github.traex.expandablelayout:library:1.3'
}

```
Expand All @@ -31,8 +31,8 @@ Declare an ExpandableLayout inside your XML layout file. You also need to other
xmlns:expandable="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
expandable:headerLayout="@layout/view_header"
expandable:contentLayout="@layout/view_content"/>
expandable:el_headerLayout="@layout/view_header"
expandable:el_contentLayout="@layout/view_content"/>

```

Expand All @@ -48,8 +48,8 @@ ExpandableLayoutItem
xmlns:expandable="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
expandable:headerLayout="@layout/view_header"
expandable:contentLayout="@layout/view_content"/>
expandable:el_headerLayout="@layout/view_header"
expandable:el_contentLayout="@layout/view_content"/>

```

Expand All @@ -71,7 +71,7 @@ You can call dynamically `open`, `close` and `isOpened` from an ExpandableLayout

You can change duration of the animation:

* app:duration [integer def:200] --> Duration of the animation
* app:el_duration [integer def:200] --> Duration of the animation

### Troubleshooting

Expand Down