diff --git a/.gitignore b/.gitignore index afbdab33..603b1407 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,14 @@ +*.iml .gradle /local.properties -/.idea/workspace.xml +/.idea/caches /.idea/libraries +/.idea/modules.xml +/.idea/workspace.xml +/.idea/navEditor.xml +/.idea/assetWizardSettings.xml .DS_Store /build +/captures +.externalNativeBuild +.cxx diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 4d302ff4..24de682b 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -3,6 +3,9 @@ diff --git a/README.md b/README.md index acca8af6..91ff0351 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Material ===================== -[![](https://jitpack.io/v/rey5137/material.svg)](https://jitpack.io/#rey5137/material) [![Download](https://api.bintray.com/packages/rey5137/maven/material/images/download.svg)](https://bintray.com/artifact/download/rey5137/maven/com/github/rey5137/material/1.2.4/material-1.2.4.aar) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Material-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/1685) +[![](https://jitpack.io/v/rey5137/material.svg)](https://jitpack.io/#rey5137/material) [![Download](https://api.bintray.com/packages/rey5137/maven/material/images/download.svg)](https://bintray.com/artifact/download/rey5137/maven/com/github/rey5137/material/1.3.1/material-1.3.1.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). @@ -86,36 +86,20 @@ Add Gradle dependency: ```gradle dependencies { - implementation 'com.github.rey5137:material:1.2.4' + implementation 'com.github.rey5137:material:1.3.1' } ``` * Or -[Download from Jcenter](https://bintray.com/artifact/download/rey5137/maven/com/github/rey5137/material/1.2.4/material-1.2.4.aar) +[Download from Jcenter](https://bintray.com/artifact/download/rey5137/maven/com/github/rey5137/material/1.3.1/material-1.3.1.aar) -You can try the SNAPSHOT version: +AppCompat, CardView, RecyclerView library is required by Material library. ```gradle dependencies { - compile 'com.github.rey5137:material:1.2.3.1-SNAPSHOT' -} -``` -Make sure to add the snapshot repository: - -```gradle -repositories { - maven { - url "https://oss.sonatype.org/content/repositories/snapshots" - } -} -``` - -AppCompat and CardView library is required by Material library. - -```gradle -dependencies { - compile 'com.android.support:appcompat-v7:23.4.0' - compile 'com.android.support:cardview-v7:23.4.0' + compile 'androidx.appcompat:appcompat:1.0.0' + compile 'androidx.cardview:cardview:1.0.0' + compile 'androidx.recyclerview:recyclerview:1.0.0' } ``` 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: diff --git a/app/.gitignore b/app/.gitignore index 796b96d1..603b1407 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -1 +1,14 @@ +*.iml +.gradle +/local.properties +/.idea/caches +/.idea/libraries +/.idea/modules.xml +/.idea/workspace.xml +/.idea/navEditor.xml +/.idea/assetWizardSettings.xml +.DS_Store /build +/captures +.externalNativeBuild +.cxx diff --git a/app/app.iml b/app/app.iml index 938dfedf..e6314d20 100644 --- a/app/app.iml +++ b/app/app.iml @@ -17,28 +17,27 @@