Skip to content

Commit 2d96701

Browse files
authored
Update README.md
1 parent 86c2859 commit 2d96701

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ Expandable LinearLayout
44

55
# Setup
66

7+
## Layout
8+
```xml
9+
<iammert.com.expandablelib.ExpandableLayout
10+
android:id="@+id/el"
11+
android:layout_width="match_parent"
12+
android:layout_height="match_parent"
13+
app:parentLayout="@layout/layout_parent"
14+
app:childLayout="@layout/layout_child"/>
15+
```
716
## Set renderers
817
```java
918
expandableLayout.setParentRenderer(new ExpandableLayout.Renderer<FruitCategory>() {

0 commit comments

Comments
 (0)