From 0e133233f3e8a775058ddd9b447eb5e6ed7f9091 Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Fri, 24 May 2013 12:47:39 +0200 Subject: [PATCH] Placeholder drawable for 'hide password' button replace with the final icon --- res/drawable/ic_hide.png | Bin 0 -> 1511 bytes res/drawable/ic_view.png | Bin 0 -> 1431 bytes .../authentication/AuthenticatorActivity.java | 6 ++++-- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 res/drawable/ic_hide.png create mode 100644 res/drawable/ic_view.png diff --git a/res/drawable/ic_hide.png b/res/drawable/ic_hide.png new file mode 100644 index 0000000000000000000000000000000000000000..8a8144b5b858342d52bf2f509145af70d26cf24b GIT binary patch literal 1511 zcmah}4NMbf7(PIdiEfCA6CK&DZ0d&ByIyTe4=R)%g^DGl6j#G^9Csh|QrbJNS6Vu^ z1s%qb%q<$GBr+XKCTYN_WR=aqesECZG;WJxfFRkH5tl`>WQ&Vqao_RNxdgIH?!KQq z@AE$I-@RE;Ub1G@##IP{tg)5S4!EMqo0ulY@)|5Hly#0@UVZ z>VX3=Tyx_UkdGiq)4bCqyX?CtR`9AB1)~mmMQDv6`2``7VLd=bYe7BlGpS}SeXc@z z&ZK%#XD95U1-SXrummc@@ss*VY*BFgPg@Yt9h`{{KKA8z&K7aNi0}cGF#EUX7 z_)vwBsTBgUNd=Y8hu{_Cv_Ahrnqb245F_FmHKBww2jti|P7Fv5bIv&y2Mxdre6k;6 zHE}G=lHDGMFG=h5#?gM+0sf6`NwnYDECSpC{6autVUg>y6kpLqLl2Z^G7BgPq z7G%Ni7DUuisYC4y%lnk`BX~eFGBBxN_O%$H!${Ie7%76JNFoP*31S{<7dXDIc`2xl zpftJvfx^;rjLiHmm}99rLGm&%|Gd(zxag~&^JceGHlJT+d@QihCKU`#&GQ^()zU_@ z!E7xu>vbAUF=;lCI*ZY$)x*Zo>Wzj)TUuZPN);Auxwvf+v8=7q&q|#r8c2K-;H;A1 zMdxZk@k?mYAy|qJm2Qap2YsUKiVKJk7 zs;u~jzYMSrnTd7!0SM zZcm^mU->!oef5nq2?JG=nVWPEPxh|QV`jOD(vJ~7>y4iV9*gDwGJWynDKq zP9q_6VUWdzWgA)I2WCwCuz+quV_<^#61S-XP250DmOz}ww?vl^=NF$VwBy5wm)t!s z`Tc(X_dD6#w14x)?HdV#*c@pPVt6I3x4aa8&208QUMf+z4Yj~dloky@1ZCI($cQQ? zKn#d-&&$_A4M7y&Q{ru?EqZ{Lpz07Uj3cA!m`xBh`!c#Hbpb?nfP|v?sXr&CC{mIA z)IoQYiRvMcR2s4dXvsFkrEHhvlc{~RWKD+00xCcvnNhnnlh636oGy>|)-_F$ISA_V zQ!7rjMVrYGGyv&#Fm{RYFr)lIo49n0AN3)!r_3}=RXBcwzp|CYW?&M=a z{i-c|@>5BKbe^Wu>9iy5bU-6Pvp%2C(%?8dM%c|B4T%}MW>)1D1Yk;rq9X-rq@^f! zz!dUR*wd8|RJ|apnX75S38OQjPO}ci3MmJar2ijPp^7;Fiq);Ot|fBTqESAgnMl+m5E1+o4$Yw`GViLd?^Wu9~7SC3E^W=mi zb^LT;lDYi-ueT4S@16(0q$>Smi#oAo+E(5Bwe7)Q&pmPC{qd?~(W#ML70Kntf8GL4 zHx4bmP&R#jYC|c}Sbgu-?jXqqF281bXXfdHKkkk_Q`9h5(z|f&yM+U1+viVzxo!5+ z%-=J&-WdOVzL*+w9?u$$lhU)Ex2l7!|JDR9E%IyBJr>d{(T|M0b?_Db6*^&vM5N2*+IbhqmzVx;8LuSx?~ z%RPwo78 r!;rW3?N^pR_`z09l+C)QTY7Co;C5<9@3%Ky)~_-WZW2c8j`aNpe1+q7 literal 0 HcmV?d00001 diff --git a/src/com/owncloud/android/authentication/AuthenticatorActivity.java b/src/com/owncloud/android/authentication/AuthenticatorActivity.java index 7a48232071..5ec4ccbafe 100644 --- a/src/com/owncloud/android/authentication/AuthenticatorActivity.java +++ b/src/com/owncloud/android/authentication/AuthenticatorActivity.java @@ -476,9 +476,11 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity private void showViewPasswordButton() { - int drawable = android.R.drawable.ic_menu_view; + //int drawable = android.R.drawable.ic_menu_view; + int drawable = R.drawable.ic_view; if (isPasswordVisible()) { - drawable = android.R.drawable.ic_secure; + //drawable = android.R.drawable.ic_secure; + drawable = R.drawable.ic_hide; } mPasswordInput.setCompoundDrawablesWithIntrinsicBounds(0, 0, drawable, 0); }