From 3f641c7b773a528f62de0d3e0a6386abbd827852 Mon Sep 17 00:00:00 2001 From: Rey Pham Date: Sun, 26 Jul 2015 01:21:08 +0700 Subject: [PATCH] Update README.md --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8fc6c8c3..c8d5a73d 100644 --- a/README.md +++ b/README.md @@ -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). @@ -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 @@ -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: @@ -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: