Skip to content

Commit

Permalink
Merge pull request #9 from Falkirks/patch-1
Browse files Browse the repository at this point in the history
Various grammar fixes to README
  • Loading branch information
ppamorim committed Mar 30, 2015
2 parents b694398 + dae7785 commit baaba64
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Join the chat at https://gitter.im/ppamorim/Dragger](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ppamorim/Dragger?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

The library was created in order to provide new animations for activities on Android.
Using the ViewDragHelper class, it was possible to create smooth animations and that's allow a full controls of the view for user.
Using the ViewDragHelper class, it is possible to create smooth animations that allow full control of the view by the user.

This new component has been created using some concepts described on [Flavien Laurent Blog][1] and [Denevell Blog][2].

Expand All @@ -18,10 +18,10 @@ Usage
-----


You can use this library like a view, you need just do it:
You can use this library like a view, you just need to do the following:

* 1. Add ''DraggerView'' view on your root layout and add two layouts inside this.
You can add a shadow view if you want(the first one) and it need to be invisible.
* 1. Add ''DraggerView'' view to your root layout and add two layouts inside it.
You can add a shadow view if you want (the first one) and it needs to be invisible.

```xml
<com.github.library.DraggerView
Expand All @@ -46,7 +46,7 @@ You can add a shadow view if you want(the first one) and it need to be invisible
</com.github.library.DraggerView>
```

In your ''styles'' file, you need config like this:
In your ''styles'' file, you need a config like this:

```xml
<style name="YourTheme" parent="Theme.AppCompat.Light.DarkActionBar">
Expand All @@ -66,7 +66,7 @@ And your ''manifest'':
android:theme="@style/YourTheme"/>
```

Or, if you need to be fast:
Or, if you need it to be fast:

```java
public class YourActivity extends DraggerActivity {
Expand All @@ -89,9 +89,9 @@ Sample
Import dependency
--------------------------------

This library uses nineoldandroids:2.4.0 and appcompat-v7:21.0.3, you have to provide this dependencies from your local artifact repository or from maven central repository.
This library uses nineoldandroids:2.4.0 and appcompat-v7:21.0.3, you have to provide these dependencies from your local artifact repository or from maven central repository.

I'll release a day on MavenCentral, I haven't much time and had to deploy on jitPack
One day I will release on MavenCentral, I haven't much time and had to deploy on jitPack

Into your build.gradle:

Expand Down Expand Up @@ -159,4 +159,4 @@ License
[6]: https://github.com/JakeWharton/NineOldAndroids/
[7]: https://github.com/square/picasso
[10]: ./art/dragger.png
[11]: http://i.imgur.com/goPWgq1.gif
[11]: http://i.imgur.com/goPWgq1.gif

0 comments on commit baaba64

Please sign in to comment.