Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rey5137 committed Jul 25, 2015
1 parent 608f254 commit 3f641c7
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Material
=====================

[![Maven Central](https://img.shields.io/maven-central/v/com.github.rey5137/material.svg)](https://oss.sonatype.org/content/repositories/releases/com/github/rey5137/material/1.1.0/material-1.1.0.aar) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Material-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/1685)
[![Maven Central](https://img.shields.io/maven-central/v/com.github.rey5137/material.svg)](https://oss.sonatype.org/content/repositories/releases/com/github/rey5137/material/1.2.0/material-1.2.0.aar) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Material-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/1685)

MaterialLibrary is an Open Source Android library that back-port Material Design components to pre-Lolipop Android. MaterialLibrary's original author is [Rey Pham](https://github.com/rey5137).

Expand Down Expand Up @@ -63,6 +63,14 @@ MaterialLibrary is an Open Source Android library that back-port Material Design

![](https://github.com/rey5137/Material/raw/master/image/dialog_3.png) ![](https://github.com/rey5137/Material/raw/master/image/dialog_4.png)

- [BottomSheetDialog](https://github.com/rey5137/Material/wiki/BottomSheet)

![](https://github.com/rey5137/Material/raw/master/image/bottomsheet.gif)

- [Dynamic theme](https://github.com/rey5137/Material/wiki/Theme)

![](https://github.com/rey5137/Material/raw/master/image/theme.gif)

## Demo

<a href="https://play.google.com/store/apps/details?id=com.rey.material.demo">
Expand All @@ -78,18 +86,18 @@ Add Gradle dependency:

```gradle
dependencies {
compile 'com.github.rey5137:material:1.1.1'
compile 'com.github.rey5137:material:1.2.0'
}
```

* Or
[Download from Maven](https://oss.sonatype.org/content/repositories/releases/com/github/rey5137/material/1.1.0/material-1.1.0.aar)
[Download from Maven](https://oss.sonatype.org/content/repositories/releases/com/github/rey5137/material/1.2.0/material-1.2.0.aar)

You can try the SNAPSHOT version:

```gradle
dependencies {
compile 'com.github.rey5137:material:1.1.1-SNAPSHOT'
compile 'com.github.rey5137:material:1.2.1-SNAPSHOT'
}
```
Make sure to add the snapshot repository:
Expand All @@ -106,8 +114,8 @@ AppCompat and CardView library is required by Material library.

```gradle
dependencies {
compile 'com.android.support:appcompat-v7:21.0.2'
compile 'com.android.support:cardview-v7:21.0.3'
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.android.support:cardview-v7:22.2.1'
}
```
Now you can use any widget in **com.rey.material.widget** package as you wish. For styling, please view [Wiki](https://github.com/rey5137/Material/wiki). Note that default style of widgets depend on theme of AppCompat. Here is an example:
Expand Down

0 comments on commit 3f641c7

Please sign in to comment.