diff --git a/build.gradle b/build.gradle index c89b50a267..deb4bc1193 100644 --- a/build.gradle +++ b/build.gradle @@ -49,6 +49,7 @@ dependencies { compile 'com.soundcloud.android:android-crop:0.9.10@aar' compile 'com.android.support:appcompat-v7:22.2.1' compile 'com.android.support:recyclerview-v7:22.2.1' + compile 'com.android.support:design:22.2.1' compile 'com.melnykov:floatingactionbutton:1.3.0' compile 'com.google.zxing:android-integration:3.1.0' compile ('com.android.support:support-v4-preferencefragment:1.0.0@aar'){ @@ -107,6 +108,7 @@ dependencyVerification { 'com.soundcloud.android:android-crop:ffd4b973cf6e97f7d64118a0dc088df50e9066fd5634fe6911dd0c0c5d346177', 'com.android.support:appcompat-v7:4b5ccba8c4557ef04f99aa0a80f8aa7d50f05f926a709010a54afd5c878d3618', 'com.android.support:recyclerview-v7:b0f530a5b14334d56ce0de85527ffe93ac419bc928e2884287ce1dddfedfb505', + 'com.android.support:design:58be3ca6a73789615f7ece0937d2f683b98b594bb90aa10565fa760fb10b07ee', 'com.melnykov:floatingactionbutton:15d58d4fac0f7a288d0e5301bbaf501a146f5b3f5921277811bf99bd3b397263', 'com.google.zxing:android-integration:89e56aadf1164bd71e57949163c53abf90af368b51669c0d4a47a163335f95c4', 'com.android.support:support-v4-preferencefragment:5470f5872514a6226fa1fc6f4e000991f38805691c534cf0bd2778911fc773ad', diff --git a/res/layout/change_passphrase_activity.xml b/res/layout/change_passphrase_activity.xml index 89fd18ffdd..0e35197e37 100644 --- a/res/layout/change_passphrase_activity.xml +++ b/res/layout/change_passphrase_activity.xml @@ -5,10 +5,9 @@ android:layout_height="fill_parent" android:fillViewport="true"> - + - - - + - - - + - - - + + + + + + + + + + + + + - - diff --git a/res/values/strings.xml b/res/values/strings.xml index f5c56d6984..1871c64292 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -576,9 +576,9 @@ Camera - OLD PASSPHRASE: - NEW PASSPHRASE: - REPEAT NEW PASSPHRASE: + Old passphrase + New passphrase + Repeaet new passhprase Enter name or number diff --git a/res/values/styles.xml b/res/values/styles.xml index dca18bc6fb..bc35a2942e 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -122,11 +122,11 @@ 12.0sp sans normal - ?android:attr/textColorSecondary + #ff808080 left left wrap_content - ?registration_text_shadow_color + #ffffff 1.0 1.0 0.0 diff --git a/res/values/themes.xml b/res/values/themes.xml index 24cf64eebc..3d65e4a0d6 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -181,8 +181,6 @@ @drawable/ic_audio_light @drawable/ic_video_light - @color/gray95 - #ff1d85d7 @drawable/ic_textsms_black_32dp @@ -296,8 +294,6 @@ @drawable/ic_audio_dark @drawable/ic_video_dark - @color/gray13 - @color/textsecure_primary_dark @drawable/ic_textsms_grey_32dp diff --git a/src/org/thoughtcrime/securesms/PassphraseChangeActivity.java b/src/org/thoughtcrime/securesms/PassphraseChangeActivity.java index eef3e361df..eec279fda6 100644 --- a/src/org/thoughtcrime/securesms/PassphraseChangeActivity.java +++ b/src/org/thoughtcrime/securesms/PassphraseChangeActivity.java @@ -25,7 +25,6 @@ import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; -import android.widget.TextView; import android.widget.Toast; import org.thoughtcrime.securesms.crypto.InvalidPassphraseException; @@ -49,7 +48,6 @@ public class PassphraseChangeActivity extends PassphraseActivity { private EditText originalPassphrase; private EditText newPassphrase; private EditText repeatPassphrase; - private TextView originalPassphraseLabel; private Button okButton; private Button cancelButton; @@ -72,7 +70,6 @@ public class PassphraseChangeActivity extends PassphraseActivity { } private void initializeResources() { - this.originalPassphraseLabel = (TextView) findViewById(R.id.old_passphrase_label); this.originalPassphrase = (EditText) findViewById(R.id.old_passphrase ); this.newPassphrase = (EditText) findViewById(R.id.new_passphrase ); this.repeatPassphrase = (EditText) findViewById(R.id.repeat_passphrase ); @@ -85,10 +82,8 @@ public class PassphraseChangeActivity extends PassphraseActivity { if (TextSecurePreferences.isPasswordDisabled(this)) { this.originalPassphrase.setVisibility(View.GONE); - this.originalPassphraseLabel.setVisibility(View.GONE); } else { this.originalPassphrase.setVisibility(View.VISIBLE); - this.originalPassphraseLabel.setVisibility(View.VISIBLE); } }