From 92f116cff5c3b1516a6a0c0a7c19863647e91e2b Mon Sep 17 00:00:00 2001 From: Samir Alakbarov <36413513+techwizard1@users.noreply.github.com> Date: Sun, 16 Aug 2020 17:46:55 +0400 Subject: [PATCH 01/11] Update chip_view.xml Removed unused background drawable from RelativeLayout(R.id.container).. So additional white pixels will not shown under dark Chips on darker backgrounds. --- library/src/main/res/layout/chip_view.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 + From c6725869824992ad2dacef2313cc606db0f63377 Mon Sep 17 00:00:00 2001 From: Samir Date: Sun, 16 Aug 2020 19:22:56 +0400 Subject: [PATCH 02/11] Updated some libraries. And removed redundant background drawable for RelativeLayout(R.id.container) in chip_view.xml file. So white pixels under dark Chips on darker backgrounds are not visible anymore. --- build.gradle | 8 ++++++++ library/build.gradle | 8 ++++---- sample/build.gradle | 10 +++++----- 3 files changed, 17 insertions(+), 9 deletions(-) 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..b142b551 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -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/sample/build.gradle b/sample/build.gradle index 15b85c09..3a2a645b 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -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' } From a72a1fc12289d44816e9dbe2eff491d3253aa63c Mon Sep 17 00:00:00 2001 From: Samir Date: Sun, 16 Aug 2020 19:28:01 +0400 Subject: [PATCH 03/11] Updated some libraries. And removed redundant background drawable for RelativeLayout(R.id.container) in chip_view.xml file. So white pixels under dark Chips on darker backgrounds are not visible anymore. --- library/build.gradle | 4 ++-- sample/build.gradle | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/library/build.gradle b/library/build.gradle index b142b551..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" diff --git a/sample/build.gradle b/sample/build.gradle index 3a2a645b..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 { From f644fdc17251c2fcc6fe295955765a1652ddd7b2 Mon Sep 17 00:00:00 2001 From: pchmn Date: Tue, 25 Aug 2020 15:57:04 +0200 Subject: [PATCH 04/11] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dc9a857d..1479663d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -## [NOT CURRENTLY MAINTAINED] +## [CURRENT SITUATION OF THE LIBRARY] + +First version of the library is not maintained. A new version entirely rewritten in kotlin is in developement. # MaterialChipsInput From 6d06199d93d6c8da09d7c5543948b12da2ab4b65 Mon Sep 17 00:00:00 2001 From: Samir Alakbarov <36413513+techwizard1@users.noreply.github.com> Date: Sun, 16 Aug 2020 17:46:55 +0400 Subject: [PATCH 05/11] Update chip_view.xml Removed unused background drawable from RelativeLayout(R.id.container).. So additional white pixels will not shown under dark Chips on darker backgrounds. --- library/src/main/res/layout/chip_view.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 + From abe02015980c3e88477d216160782cf03d88fa65 Mon Sep 17 00:00:00 2001 From: Samir Date: Sun, 16 Aug 2020 19:22:56 +0400 Subject: [PATCH 06/11] Updated some libraries. And removed redundant background drawable for RelativeLayout(R.id.container) in chip_view.xml file. So white pixels under dark Chips on darker backgrounds are not visible anymore. --- build.gradle | 8 ++++++++ library/build.gradle | 8 ++++---- sample/build.gradle | 10 +++++----- 3 files changed, 17 insertions(+), 9 deletions(-) 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..b142b551 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -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/sample/build.gradle b/sample/build.gradle index 15b85c09..3a2a645b 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -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' } From 1afa97db7f492ac0419fbff23fac74038d7ea735 Mon Sep 17 00:00:00 2001 From: Samir Date: Sun, 16 Aug 2020 19:28:01 +0400 Subject: [PATCH 07/11] Updated some libraries. And removed redundant background drawable for RelativeLayout(R.id.container) in chip_view.xml file. So white pixels under dark Chips on darker backgrounds are not visible anymore. --- library/build.gradle | 4 ++-- sample/build.gradle | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/library/build.gradle b/library/build.gradle index b142b551..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" diff --git a/sample/build.gradle b/sample/build.gradle index 3a2a645b..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 { From ab1ebe090e532f683917acbab2169508096013dc Mon Sep 17 00:00:00 2001 From: Samir Alakbarov <36413513+techwizard1@users.noreply.github.com> Date: Thu, 27 Aug 2020 17:58:43 +0400 Subject: [PATCH 08/11] Update README.md --- README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1479663d..aac8c161 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,13 @@ -## [CURRENT SITUATION OF THE LIBRARY] - -First version of the library is not maintained. A new version entirely rewritten in kotlin is in developement. - # MaterialChipsInput 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 @@ -30,7 +26,7 @@ allprojects { In your app level build.gradle : ```java dependencies { - compile 'com.github.pchmn:MaterialChipsInput:1.0.8' + compile 'com.github.techwizard1:MaterialChipsInput:1.0.9' } ```

From 6c4424abb4296f8f9bb25a36a7aeeecaa6ccd861 Mon Sep 17 00:00:00 2001 From: Samir Alakbarov <36413513+techwizard1@users.noreply.github.com> Date: Thu, 27 Aug 2020 18:02:42 +0400 Subject: [PATCH 09/11] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index aac8c161..cdbaee9f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ # MaterialChipsInput +This library is forked from [pchmn/MaterialChipsInput](https://github.com/pchmn/MaterialChipsInput) +The differenc is removed redundant white background from chip_view so it is not seen bad on darker backgrounds with dark colors.. (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). From c1ad64ba5da081478f52138da9b8b0cdafabab12 Mon Sep 17 00:00:00 2001 From: Samir Alakbarov <36413513+n-droidev@users.noreply.github.com> Date: Wed, 24 Feb 2021 02:50:23 +0400 Subject: [PATCH 10/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cdbaee9f..1840101a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # MaterialChipsInput This library is forked from [pchmn/MaterialChipsInput](https://github.com/pchmn/MaterialChipsInput) -The differenc is removed redundant white background from chip_view so it is not seen bad on darker backgrounds with dark colors.. (there were white pixels on the sides of chips) +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). From 9421b35e7625895887ef32b11e0188286f65658f Mon Sep 17 00:00:00 2001 From: Samir Alakbarov <36413513+n-droidev@users.noreply.github.com> Date: Tue, 6 Apr 2021 18:55:39 +0400 Subject: [PATCH 11/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1840101a..8b84a0c0 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ allprojects { In your app level build.gradle : ```java dependencies { - compile 'com.github.techwizard1:MaterialChipsInput:1.0.9' + compile 'com.github.n-droidev:MaterialChipsInput:1.0.9' } ```