Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jkwiecien committed Nov 24, 2015
1 parent bb29293 commit cdc0bda
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Library that allows you to eaisly switch between your content, progress, error a
You only show content, progress or error view. The switcher finds out what's currently visible and hides it.


<img src="http://g.recordit.co/LAshoSUNxi.gif" height="340" />
<img src="http://g.recordit.co/Gav0lfPXMV.gif" height="340" />

#How to use it?
1) Build your layout like this. It's important to pack your content, progress and error view into the same ```FrameLayout```. It won't work otherwise.
Expand Down Expand Up @@ -100,20 +100,10 @@ repositories {
}
dependencies {
compile ('com.github.jkwiecien:Switcher:1.1.4'){
exclude module: 'appcompat-v7'
}
compile 'com.github.jkwiecien:Switcher:2.0.0'
}
```

If you wan't to use blur view, you also need to modify your app ```defaultConfig```:

```groovy
defaultConfig {
renderscriptTargetApi 22
renderscriptSupportModeEnabled true
}
```

License
=======
Expand Down

0 comments on commit cdc0bda

Please sign in to comment.