From 8441ac4091fff3c6f6ae984d9b76c4b45b10c36b Mon Sep 17 00:00:00 2001 From: art1fa Date: Fri, 9 Mar 2018 18:03:43 +0100 Subject: [PATCH] Fingerprint unlock UX improvements --- .../ic_priority_high_white_48dp.png | Bin 0 -> 184 bytes .../ic_priority_high_white_48dp.png | Bin 0 -> 144 bytes .../ic_priority_high_white_48dp.png | Bin 0 -> 228 bytes .../ic_priority_high_white_48dp.png | Bin 0 -> 335 bytes .../ic_priority_high_white_48dp.png | Bin 0 -> 465 bytes res/layout/prompt_passphrase_activity.xml | 44 ++++++++++-------- res/values/strings.xml | 4 ++ res/values/styles.xml | 5 ++ res/values/themes.xml | 2 + .../securesms/PassphrasePromptActivity.java | 25 ++++++---- 10 files changed, 52 insertions(+), 28 deletions(-) create mode 100644 res/drawable-hdpi/ic_priority_high_white_48dp.png create mode 100644 res/drawable-mdpi/ic_priority_high_white_48dp.png create mode 100644 res/drawable-xhdpi/ic_priority_high_white_48dp.png create mode 100644 res/drawable-xxhdpi/ic_priority_high_white_48dp.png create mode 100644 res/drawable-xxxhdpi/ic_priority_high_white_48dp.png diff --git a/res/drawable-hdpi/ic_priority_high_white_48dp.png b/res/drawable-hdpi/ic_priority_high_white_48dp.png new file mode 100644 index 0000000000000000000000000000000000000000..66366c9d42b0098054f39a28407499cec4c197b3 GIT binary patch literal 184 zcmeAS@N?(olHy`uVBq!ia0vp^9w5xY0wn)GsXhaw>OEZ?Ln;{GUTqa+R^VZ{Xm>5a z;fB#%h2J6T&%b(CW`2;JiRVq@%$bEMj!i6_LMk2;6i^tyrkv?u~w;GiSsu YoA`fPIr-Eqpi>w;UHx3vIVCg!07~IVU;qFB literal 0 HcmV?d00001 diff --git a/res/drawable-mdpi/ic_priority_high_white_48dp.png b/res/drawable-mdpi/ic_priority_high_white_48dp.png new file mode 100644 index 0000000000000000000000000000000000000000..a7191587d656e859367309418efbf242fc605e15 GIT binary patch literal 144 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA0wn)(8}b0Da8DPOV literal 0 HcmV?d00001 diff --git a/res/drawable-xhdpi/ic_priority_high_white_48dp.png b/res/drawable-xhdpi/ic_priority_high_white_48dp.png new file mode 100644 index 0000000000000000000000000000000000000000..f1dc48c8191f27a7d7edfd4832dac986ed6b3805 GIT binary patch literal 228 zcmeAS@N?(olHy`uVBq!ia0vp^2_VeD0wg^q?%xcgR(rZQhEy=Vz1Et0)PSMwpnBG_ zliLm^&hoVJe6fDV`ZEbH_i@%d>)xmDIcdorL7)cw-~c<*1eKLdm(u)BPSaH_zUA$^ z^yCEN>vJV9T`~TndVXt&(}@YwU%kHZJ3a2zng=>5=d#cKmk;<9_4GgUwmsL_61e}q zQ7r4NIuZBN>&~?=(y!*%Jo|O$ho8O2Bo)tczQqe?%qlru1ag9>tDnm{r-UW|_{&(J literal 0 HcmV?d00001 diff --git a/res/drawable-xxhdpi/ic_priority_high_white_48dp.png b/res/drawable-xxhdpi/ic_priority_high_white_48dp.png new file mode 100644 index 0000000000000000000000000000000000000000..5ca2452c82c3ec6c6588c13b44b00be1d5b8d82d GIT binary patch literal 335 zcmeAS@N?(olHy`uVBq!ia0vp^6F``S8Ays|{O<-*1_3@Hu0Z-fDZtv7#Q>;>za+>n zm_b@b$7TE^t;(`l-?j-0^NR0TYnVUF^8Kl9>yl@&TaSn&%U$y|eE9H`NVc5U zvK!w%BzD#EhX(JdTv1=_5kG6g&0im1i+_@~n`rlSG4JMkQ~$qf*Y!CTto`cthby(8 f-tJdsa1gG2YPI^%i@+5?uP}JJ`njxgN@xNAEG?kE literal 0 HcmV?d00001 diff --git a/res/drawable-xxxhdpi/ic_priority_high_white_48dp.png b/res/drawable-xxxhdpi/ic_priority_high_white_48dp.png new file mode 100644 index 0000000000000000000000000000000000000000..121e04946200def584e1b69ca62e9b2c443d29ae GIT binary patch literal 465 zcmeAS@N?(olHy`uVBq!ia0vp^2SAvE1xWt5x}=AJfpLbXi(^OyfEf#M!jD^9 z^AEQzl;Am}an?&qwCsY*ontYF3T4y%9k;KUqBV~_K+NO#Z?_7`3VUa-ca_T*E?xR? zZnan2!heQOXPMq!volTT6+f$}_qWKPz?NSJW~ldlJYsRhH0_Ga>NK%eLc(?yu4gT- zh;q%dyejOvLONv5Vy@CgP49CXQ-mrX%_@#{pC+;CSxh$DL}f3dQzrz!r`&Pxt5APz zTjb*GCTzJ#buq6cqnzU>p>L8}+=kJDno;Fp4hjKJS3j3^ HP6 - - - - - - @@ -39,7 +28,7 @@ + + + + Signal icon Submit passphrase Invalid passphrase! + Confirm fingerprint to unlock + Touch sensor + Fingerprint not recognized. Try again. + Fingerprint recognized The version of Google Play Services you have installed is not functioning correctly. Please reinstall Google Play Services and try again. diff --git a/res/values/styles.xml b/res/values/styles.xml index 1a4cbf1bf6..9228e52b24 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -72,6 +72,11 @@ 0dp + +