Skip to content

Commit

Permalink
modified README
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenceDut committed Jun 8, 2016
1 parent f9aea34 commit 76ce465
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ExpandableLayout

A expandable Layout to save space and reduce jump between Activity and Fragment
[![](https://jitpack.io/v/SilenceDut/ExpandableLayout.svg)](https://jitpack.io/#SilenceDut/ExpandableLayout)
####[![](https://jitpack.io/v/SilenceDut/ExpandableLayout.svg)](https://jitpack.io/#SilenceDut/ExpandableLayout)

**_SimpleUse_**

Expand Down Expand Up @@ -33,13 +33,15 @@ Basic Usage
-----------
**Supported Attributes**

```xml
<declare-styleable name="ExpandableLayout">
<attr name="expDuration" format="integer|reference"/> //expand duration
<attr name="expWithParentScroll" format="boolean"/> // the parent view should scroll automatically if the view expand out of device screen
<attr name="expExpandScrollTogether" format="boolean"/> // the parent view should scroll together with view expanding
</declare-styleable>
```
- ***expDuration***
expand duration

- ***expWithParentScroll***
parent view should scroll automatically if the view expand out of device screen
(当展开时如果超过屏幕的高度是父控件否自动上移)

- ***expExpandScrollTogether***
parent view should scroll together with view expanding****

**ExpandableLayout inherited from LinearLayout,and the default setOrientation is **VERTICAL****

Expand Down

0 comments on commit 76ce465

Please sign in to comment.