Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ligol committed Mar 25, 2015
1 parent 99a9c01 commit 5fe6903
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This project allows to display DialogFragment with a burring effect behind. The
* [Sample app](#sample-app)
* [Example](#example)
* [Dependency](#dependency)
* [Use RenderScript in Your Project] (#use-renderscript-in-your-project)
* [Simple usage using inheritance](#simple-usage-using-inheritance)
* [Customize your blurring effect](#customize-your-blurring-effect)
* [Avoiding inheritance](#avoiding-inheritance)
Expand Down Expand Up @@ -37,6 +38,20 @@ Dependency
=======
In order to use this library, just add a new gradle dependency : [BlurDialogFragment dependency](https://github.com/tvbarthel/maven#usage)

Use RenderScript in Your Project
======

Simply add this line to your build.gradle

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

Simple usage using inheritance
=======
If you are using **android.app.DialogFragment** : extends **BlurDialogFragment**.
Expand Down Expand Up @@ -67,18 +82,6 @@ public class SampleDialogFragment extends SupportBlurDialogFragment {
}
```

Use RenderScript in Your Project
======

Simply add this line to your build.gradle

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

Customize your blurring effect
======
```java
Expand Down

0 comments on commit 5fe6903

Please sign in to comment.