From f8501d7cf2f414d8723265a5f88cde1cf5940349 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 15 Apr 2020 14:07:07 +0200 Subject: [PATCH] moving an icon into Commons --- app/build.gradle | 2 +- .../pro/activities/InsertOrEditContactActivity.kt | 2 +- app/src/main/res/drawable/ic_new_contact_vector.xml | 9 --------- app/src/main/res/layout/activity_insert_edit_contact.xml | 2 +- build.gradle | 2 +- 5 files changed, 4 insertions(+), 13 deletions(-) delete mode 100644 app/src/main/res/drawable/ic_new_contact_vector.xml diff --git a/app/build.gradle b/app/build.gradle index 6bfe0670..3b3e44c1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -57,7 +57,7 @@ android { } dependencies { - implementation 'com.simplemobiletools:commons:5.25.16' + implementation 'com.simplemobiletools:commons:5.25.17' implementation 'joda-time:joda-time:2.10.1' implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta4' implementation 'com.googlecode.ez-vcard:ez-vcard:0.10.5' diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/InsertOrEditContactActivity.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/InsertOrEditContactActivity.kt index 4c78b4a1..c1143280 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/InsertOrEditContactActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/InsertOrEditContactActivity.kt @@ -143,7 +143,7 @@ class InsertOrEditContactActivity : SimpleActivity(), RefreshContactsListener { insert_or_edit_tabs_holder.beVisibleIf(skippedTabs == 0) select_contact_label?.setTextColor(getAdjustedPrimaryColor()) - new_contact_tmb?.setImageDrawable(resources.getColoredDrawableWithColor(R.drawable.ic_new_contact_vector, config.textColor)) + new_contact_tmb?.setImageDrawable(resources.getColoredDrawableWithColor(R.drawable.ic_add_person_vector, config.textColor)) new_contact_holder?.setOnClickListener { createNewContact() } diff --git a/app/src/main/res/drawable/ic_new_contact_vector.xml b/app/src/main/res/drawable/ic_new_contact_vector.xml deleted file mode 100644 index b51c33ae..00000000 --- a/app/src/main/res/drawable/ic_new_contact_vector.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/app/src/main/res/layout/activity_insert_edit_contact.xml b/app/src/main/res/layout/activity_insert_edit_contact.xml index 2e28b29c..ba4a9e87 100644 --- a/app/src/main/res/layout/activity_insert_edit_contact.xml +++ b/app/src/main/res/layout/activity_insert_edit_contact.xml @@ -31,7 +31,7 @@ android:layout_height="@dimen/normal_icon_size" android:layout_centerVertical="true" android:padding="@dimen/medium_margin" - android:src="@drawable/ic_new_contact_vector" /> + android:src="@drawable/ic_add_person_vector" />