diff --git a/res/layout/prompt_passphrase_activity.xml b/res/layout/prompt_passphrase_activity.xml index f851233471..1829d3623b 100644 --- a/res/layout/prompt_passphrase_activity.xml +++ b/res/layout/prompt_passphrase_activity.xml @@ -6,6 +6,7 @@ android:id="@+id/prompt_layout" android:layout_width="match_parent" android:layout_height="match_parent" + android:background="@color/loki_darkest_gray" android:orientation="vertical"> @@ -29,10 +29,10 @@ android:layout_marginTop="20dp"> + android:layout_width="wrap_content" + android:layout_height="64dp" + android:src="@drawable/ic_launcher_foreground" + android:layout_gravity="center" /> @@ -48,35 +48,42 @@ android:padding="20dp" android:elevation="10dp"> - - - - - + + + + + Disable Registration Lock PIN? Disable Backups - Loki Messenger is locked + Loki Messenger is Locked TAP TO UNLOCK Reminder: About diff --git a/res/values/themes.xml b/res/values/themes.xml index 155b8d2064..178c030731 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -75,7 +75,7 @@ @drawable/ic_visibility_off_grey600_24dp @color/signal_primary - @drawable/rounded_rectangle_white + @drawable/rounded_rectangle_dark diff --git a/src/org/thoughtcrime/securesms/PassphrasePromptActivity.java b/src/org/thoughtcrime/securesms/PassphrasePromptActivity.java index b0b1d46f42..dd9bbb246a 100644 --- a/src/org/thoughtcrime/securesms/PassphrasePromptActivity.java +++ b/src/org/thoughtcrime/securesms/PassphrasePromptActivity.java @@ -48,6 +48,8 @@ import android.widget.ImageButton; import android.widget.ImageView; import android.widget.TextView; +import com.dd.CircularProgressButton; + import org.thoughtcrime.securesms.animation.AnimationCompleteListener; import org.thoughtcrime.securesms.components.AnimatingToggle; import org.thoughtcrime.securesms.crypto.InvalidPassphraseException; @@ -72,9 +74,9 @@ public class PassphrasePromptActivity extends PassphraseActivity { private DynamicIntroTheme dynamicTheme = new DynamicIntroTheme(); private DynamicLanguage dynamicLanguage = new DynamicLanguage(); - private View passphraseAuthContainer; - private ImageView fingerprintPrompt; - private TextView lockScreenButton; + private View passphraseAuthContainer; + private ImageView fingerprintPrompt; + private CircularProgressButton lockScreenButton; private EditText passphraseText; private ImageButton showButton; @@ -136,7 +138,7 @@ public class PassphrasePromptActivity extends PassphraseActivity { MenuInflater inflater = this.getMenuInflater(); menu.clear(); - inflater.inflate(R.menu.log_submit, menu); + // inflater.inflate(R.menu.log_submit, menu); super.onPrepareOptionsMenu(menu); return true; } @@ -276,7 +278,7 @@ public class PassphrasePromptActivity extends PassphraseActivity { fingerprintManager.authenticate(null, 0, fingerprintCancellationSignal, fingerprintListener, null); } else if (Build.VERSION.SDK_INT >= 21){ Log.i(TAG, "firing intent..."); - Intent intent = keyguardManager.createConfirmDeviceCredentialIntent("Unlock Signal", ""); + Intent intent = keyguardManager.createConfirmDeviceCredentialIntent("Unlock Loki Messenger", ""); startActivityForResult(intent, 1); } else { Log.w(TAG, "Not compatible...");