From 1d483f78bf9f97d8c002dc4c8dff9563cc0978d0 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Wed, 23 Jan 2019 02:03:18 +0100 Subject: [PATCH] use standard button and avoid another maven dependency --- build.gradle | 5 ---- res/layout/group_create_activity.xml | 16 +++-------- res/layout/registration_activity.xml | 28 ------------------- res/layout/welcome_activity.xml | 8 ++---- .../securesms/RegistrationActivity.java | 2 -- 5 files changed, 6 insertions(+), 53 deletions(-) diff --git a/build.gradle b/build.gradle index def3bb406..49d462f3b 100644 --- a/build.gradle +++ b/build.gradle @@ -27,9 +27,6 @@ repositories { maven { url "https://jitpack.io" } - maven { - url "https://raw.github.com/signalapp/maven/master/circular-progress-button/releases/" - } maven { url "https://maven.google.com" } @@ -93,7 +90,6 @@ dependencies { exclude group: 'com.android.support', module: 'recyclerview-v7' } compile 'com.codewaves.stickyheadergrid:stickyheadergrid:0.9.4' - compile 'com.github.dmytrodanylyk.circular-progress-button:library:1.1.3-S2' testCompile 'junit:junit:4.12' testCompile 'org.assertj:assertj-core:1.7.1' @@ -140,7 +136,6 @@ dependencyVerification { 'cn.carbswang.android:NumberPickerView:18b3c316d62c7c277978a8d4ed57a5b8f4e943762264960f579a8a549c756729', 'com.annimon:stream:5da6e2e3e0551d61a3ea7014f04312276549e3dd739cf637996e4cf43c5535b9', 'com.takisoft.fix:colorpicker:f5d0dbabe406a1800498ca9c1faf34db36e021d8488bf10360f29961fe3ab0d1', - 'com.github.dmytrodanylyk.circular-progress-button:library:8dc6a29a5a8db7b2ad5a9a7fda1dc9ae0893f4c8f0545732b2c63854ea693e8e', 'com.google.android.gms:play-services-iid:54e919f9957b8b7820da7ee9b83471d00d0cac1cf08ddea8b5b41aea80bb1a70', 'com.google.android.gms:play-services-base:0ca636a8fc9a5af45e607cdcd61783bf5d561cbbb0f862021ce69606eee5ad49', 'com.google.android.gms:play-services-tasks:69ec265168e601d0203d04cd42e34bb019b2f029aa1e16fabd38a5153eea2086', diff --git a/res/layout/group_create_activity.xml b/res/layout/group_create_activity.xml index 9e8d77295..a4a92d12b 100644 --- a/res/layout/group_create_activity.xml +++ b/res/layout/group_create_activity.xml @@ -73,7 +73,7 @@ android:layout_height="wrap_content" android:orientation="horizontal"> - + android:text="@string/group_add_members"/> - + android:text="@string/qrshow_title"/> diff --git a/res/layout/registration_activity.xml b/res/layout/registration_activity.xml index 0cc2d337e..6c11f29ee 100644 --- a/res/layout/registration_activity.xml +++ b/res/layout/registration_activity.xml @@ -324,34 +324,6 @@ app:layout_constraintStart_toStartOf="@id/guideline_root_start" app:layout_constraintTop_toBottomOf="@id/smtp_security_label" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/layout/welcome_activity.xml b/res/layout/welcome_activity.xml index 83d76c083..d90ad3bcf 100644 --- a/res/layout/welcome_activity.xml +++ b/res/layout/welcome_activity.xml @@ -29,7 +29,7 @@ android:layout_height="32dp" app:layout_constraintBottom_toTopOf="@id/skip_button"/> - diff --git a/src/org/thoughtcrime/securesms/RegistrationActivity.java b/src/org/thoughtcrime/securesms/RegistrationActivity.java index 8c2d5e60c..6cbbedfda 100644 --- a/src/org/thoughtcrime/securesms/RegistrationActivity.java +++ b/src/org/thoughtcrime/securesms/RegistrationActivity.java @@ -22,7 +22,6 @@ import android.widget.Toast; import com.b44t.messenger.DcContext; import com.b44t.messenger.DcEventCenter; -import com.dd.CircularProgressButton; import org.thoughtcrime.securesms.connect.ApplicationDcContext; import org.thoughtcrime.securesms.connect.DcHelper; @@ -114,7 +113,6 @@ public class RegistrationActivity extends BaseActionBarActivity implements DcEve passwordInput = findViewById(R.id.password_text); advancedGroup = findViewById(R.id.advanced_group); advancedIcon = findViewById(R.id.advanced_icon); -// CircularProgressButton loginButton = findViewById(R.id.register_button); TextView advancedTextView = findViewById(R.id.advanced_text); TextInputEditText imapServerInput = findViewById(R.id.imap_server_text); TextInputEditText imapPortInput = findViewById(R.id.imap_port_text);