Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable syntax highlighting for Groovy snippets. #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
24 changes: 14 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,23 @@ Including in your project
-------------------------

The library is pushed to Maven Central as a AAR, so you just need to add the following dependency to your `build.gradle`.

dependencies {
compile 'com.github.manuelpeinado.fadingactionbar:fadingactionbar:3.1.2'
}

```groovy
dependencies {
compile 'com.github.manuelpeinado.fadingactionbar:fadingactionbar:3.1.2'
}
```

If your project doesn't use the stock action bar, but one of the compatibility implementations, you would use the following:

dependencies {
// Use the following if your project uses ActionBarCompat
compile 'com.github.manuelpeinado.fadingactionbar:fadingactionbar-abc:3.1.2'
// Or the following if your project uses ActionBarSherlock
compile 'com.github.manuelpeinado.fadingactionbar:fadingactionbar-abs:3.1.2'
}
```groovy
dependencies {
// Use the following if your project uses ActionBarCompat
compile 'com.github.manuelpeinado.fadingactionbar:fadingactionbar-abc:3.1.2'
// Or the following if your project uses ActionBarSherlock
compile 'com.github.manuelpeinado.fadingactionbar:fadingactionbar-abs:3.1.2'
}
```


Usage
Expand Down