Skip to content

Commit

Permalink
Added info on obtaining the library, fixes #10
Browse files Browse the repository at this point in the history
  • Loading branch information
curioustechizen committed Sep 18, 2014
1 parent ac64b5f commit f27333c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,22 @@ This library provides `RelativeTimeTextView`, a custom `TextView` that takes a r
This library can be seen as a wrapper on top of the excellent `android.text.format.DateUtils` class. Note that the library does _not_ expose all the options provided by the `DateUtils` class. I have left out many features because I couldn't decide what would be the best way to achieve the flexibility - dozens of XML attributes? Contributions in this regard are welcome.


Obtaining
=========

###Android Studio
1. Clone the repo
2. Open build.gradle in the root folder of the cloned project in Android Studio

###Eclipse+ADT
1. Clone the repo
2. In Eclipse, go to `File` -> `New` -> `Other`. Expand `Android` and select `Android Project from Existing Code`
3. Browse to the `android-ago` sub-folder of the cloned repo and hit `Finish`

###Maven Central
This project is not available on Maven Central yet. Please follow #3 to know when this is done.


Usage
=====

Expand Down

0 comments on commit f27333c

Please sign in to comment.