diff --git a/README.md b/README.md index dc9a857d..8b84a0c0 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,16 @@ -## [NOT CURRENTLY MAINTAINED] - # MaterialChipsInput +This library is forked from [pchmn/MaterialChipsInput](https://github.com/pchmn/MaterialChipsInput) +The difference is removing of redundant white background from chip_view, thus darker chips are not seen with thin white outline on darker backgrounds.. (there were white pixels on the sides of chips) + Implementation of Material Design [Chips](https://material.io/guidelines/components/chips.html) component for Android. The library provides two views : [`ChipsInput`](#chipsinput) and [`ChipView`](#chipview). -[![Release](https://jitpack.io/v/pchmn/MaterialChipsInput.svg)](https://jitpack.io/#pchmn/MaterialChipsInput) +[![Release](https://jitpack.io/v/pchmn/MaterialChipsInput.svg)](https://jitpack.io/#techwizard1/MaterialChipsInput) -Demo +Demo ## Demo -[Download sample-v1.0.8.apk](https://github.com/pchmn/MaterialChipsInput/raw/master/docs/material-chips-input-sample-v1.0.8.apk) +[Download sample-v1.0.8.apk](https://github.com/techwizard1/MaterialChipsInput/raw/master/docs/material-chips-input-sample-v1.0.9.apk) ## Setup @@ -28,7 +29,7 @@ allprojects { In your app level build.gradle : ```java dependencies { - compile 'com.github.pchmn:MaterialChipsInput:1.0.8' + compile 'com.github.n-droidev:MaterialChipsInput:1.0.9' } ```

diff --git a/build.gradle b/build.gradle index 64dc55d3..ec39633b 100644 --- a/build.gradle +++ b/build.gradle @@ -4,6 +4,10 @@ buildscript { repositories { jcenter() mavenCentral() + maven { + url 'https://maven.google.com/' + name 'Google' + } } dependencies { classpath 'com.android.tools.build:gradle:2.3.0' @@ -20,6 +24,10 @@ allprojects { repositories { jcenter() mavenCentral() + maven { + url 'https://maven.google.com/' + name 'Google' + } } } diff --git a/library/build.gradle b/library/build.gradle index 974cc24f..6f248374 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -8,8 +8,8 @@ android { defaultConfig { minSdkVersion 15 targetSdkVersion 25 - versionCode 9 - versionName "1.0.8" + versionCode 10 + versionName "1.0.9" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" @@ -27,15 +27,15 @@ dependencies { androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) - compile 'com.android.support:appcompat-v7:25.3.0' - testCompile 'junit:junit:4.12' + compile 'com.android.support:appcompat-v7:25.4.0' + testCompile 'junit:junit:4.13' // recycler - compile 'com.android.support:recyclerview-v7:25.3.0' + compile 'com.android.support:recyclerview-v7:25.4.0' compile 'com.beloo.widget:ChipsLayoutManager:0.3.7@aar' // circle image view - compile 'de.hdodenhof:circleimageview:2.1.0' + compile 'de.hdodenhof:circleimageview:3.1.0' // butter knife compile 'com.jakewharton:butterknife:8.5.1' diff --git a/library/src/main/res/layout/chip_view.xml b/library/src/main/res/layout/chip_view.xml index ce7310b2..b6f8436e 100644 --- a/library/src/main/res/layout/chip_view.xml +++ b/library/src/main/res/layout/chip_view.xml @@ -3,8 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/container" android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:background="@drawable/bg_chip_view"> + android:layout_height="wrap_content"> - \ No newline at end of file + diff --git a/sample/build.gradle b/sample/build.gradle index 15b85c09..06bdbd0e 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -9,8 +9,8 @@ android { applicationId "com.pchmn.sample.materialchipsinput" minSdkVersion 15 targetSdkVersion 25 - versionCode 9 - versionName "1.0.8" + versionCode 10 + versionName "1.0.9" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { @@ -31,13 +31,13 @@ dependencies { exclude group: 'com.android.support', module: 'support-annotations' }) compile project(path: ':library') + testCompile 'junit:junit:4.13' + compile 'com.android.support:appcompat-v7:25.4.0' + compile 'com.android.support.constraint:constraint-layout:1.1.3' + compile 'io.reactivex.rxjava2:rxjava:2.2.19' + compile 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.3@aar' // butter knife - compile 'com.android.support:appcompat-v7:25.3.0' - compile 'com.android.support.constraint:constraint-layout:1.0.2' - compile 'io.reactivex.rxjava2:rxjava:2.0.8' - compile 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.3@aar' compile 'com.jakewharton:butterknife:8.5.1' - testCompile 'junit:junit:4.12' annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1' }