From d6d679997b7bb7d6b10b58c8b1ce0a416ccf9b05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Tue, 3 Feb 2015 18:39:07 +0100 Subject: [PATCH] Move encrypt decrypt operations in own starter activity --- Graphics/get-material-icons.sh | 3 +- ...va => EncryptDecryptOverviewFragment.java} | 36 ++++++++++--- .../keychain/ui/NavDrawerActivity.java | 5 +- .../res/drawable-hdpi/ic_lock_black_24dp.png | Bin 0 -> 397 bytes .../drawable-hdpi/ic_lock_open_black_24dp.png | Bin 393 -> 0 bytes .../ic_lock_outline_black_24dp.png | Bin 398 -> 0 bytes .../res/drawable-mdpi/ic_lock_black_24dp.png | Bin 0 -> 291 bytes .../drawable-mdpi/ic_lock_open_black_24dp.png | Bin 295 -> 0 bytes .../ic_lock_outline_black_24dp.png | Bin 294 -> 0 bytes .../res/drawable-xhdpi/ic_lock_black_24dp.png | Bin 0 -> 498 bytes .../ic_lock_open_black_24dp.png | Bin 450 -> 0 bytes .../ic_lock_outline_black_24dp.png | Bin 484 -> 0 bytes .../drawable-xxhdpi/ic_lock_black_24dp.png | Bin 0 -> 636 bytes .../ic_lock_open_black_24dp.png | Bin 615 -> 0 bytes .../ic_lock_outline_black_24dp.png | Bin 675 -> 0 bytes .../drawable-xxxhdpi/ic_lock_black_24dp.png | Bin 0 -> 830 bytes .../ic_lock_open_black_24dp.png | Bin 881 -> 0 bytes .../ic_lock_outline_black_24dp.png | Bin 883 -> 0 bytes ... => encrypt_decrypt_overview_fragment.xml} | 49 ++++++++++++++---- OpenKeychain/src/main/res/values/strings.xml | 10 ++-- 20 files changed, 75 insertions(+), 28 deletions(-) rename OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/{DecryptOverviewFragment.java => EncryptDecryptOverviewFragment.java} (77%) create mode 100644 OpenKeychain/src/main/res/drawable-hdpi/ic_lock_black_24dp.png delete mode 100644 OpenKeychain/src/main/res/drawable-hdpi/ic_lock_open_black_24dp.png delete mode 100644 OpenKeychain/src/main/res/drawable-hdpi/ic_lock_outline_black_24dp.png create mode 100644 OpenKeychain/src/main/res/drawable-mdpi/ic_lock_black_24dp.png delete mode 100644 OpenKeychain/src/main/res/drawable-mdpi/ic_lock_open_black_24dp.png delete mode 100644 OpenKeychain/src/main/res/drawable-mdpi/ic_lock_outline_black_24dp.png create mode 100644 OpenKeychain/src/main/res/drawable-xhdpi/ic_lock_black_24dp.png delete mode 100644 OpenKeychain/src/main/res/drawable-xhdpi/ic_lock_open_black_24dp.png delete mode 100644 OpenKeychain/src/main/res/drawable-xhdpi/ic_lock_outline_black_24dp.png create mode 100644 OpenKeychain/src/main/res/drawable-xxhdpi/ic_lock_black_24dp.png delete mode 100644 OpenKeychain/src/main/res/drawable-xxhdpi/ic_lock_open_black_24dp.png delete mode 100644 OpenKeychain/src/main/res/drawable-xxhdpi/ic_lock_outline_black_24dp.png create mode 100644 OpenKeychain/src/main/res/drawable-xxxhdpi/ic_lock_black_24dp.png delete mode 100644 OpenKeychain/src/main/res/drawable-xxxhdpi/ic_lock_open_black_24dp.png delete mode 100644 OpenKeychain/src/main/res/drawable-xxxhdpi/ic_lock_outline_black_24dp.png rename OpenKeychain/src/main/res/layout/{decrypt_overview_fragment.xml => encrypt_decrypt_overview_fragment.xml} (69%) diff --git a/Graphics/get-material-icons.sh b/Graphics/get-material-icons.sh index e5077276e..b26e73c9c 100755 --- a/Graphics/get-material-icons.sh +++ b/Graphics/get-material-icons.sh @@ -10,8 +10,7 @@ python copy OpenKeychain navigation white refresh 24 # navigation drawer sections python copy OpenKeychain communication black vpn_key 24 -python copy OpenKeychain action black lock_open 24 -python copy OpenKeychain action black lock_outline 24 +python copy OpenKeychain action black lock 24 python copy OpenKeychain navigation black apps 24 python copy OpenKeychain action black help 24 python copy OpenKeychain action black settings 24 diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptOverviewFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EncryptDecryptOverviewFragment.java similarity index 77% rename from OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptOverviewFragment.java rename to OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EncryptDecryptOverviewFragment.java index 8407a8ca7..a498d0763 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/DecryptOverviewFragment.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/EncryptDecryptOverviewFragment.java @@ -35,10 +35,12 @@ import org.sufficientlysecure.keychain.ui.util.SubtleAttentionSeeker; import java.util.regex.Matcher; -public class DecryptOverviewFragment extends Fragment { +public class EncryptDecryptOverviewFragment extends Fragment { - View mActionFile; - View mActionFromClipboard; + View mEncryptFile; + View mEncryptText; + View mDecryptFile; + View mDecryptFromClipboard; View mClipboardIcon; @Override @@ -49,13 +51,31 @@ public class DecryptOverviewFragment extends Fragment { @Override public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { - View view = inflater.inflate(R.layout.decrypt_overview_fragment, container, false); + View view = inflater.inflate(R.layout.encrypt_decrypt_overview_fragment, container, false); - mActionFile = view.findViewById(R.id.decrypt_files); - mActionFromClipboard = view.findViewById(R.id.decrypt_from_clipboard); + mEncryptFile = view.findViewById(R.id.encrypt_files); + mEncryptText = view.findViewById(R.id.encrypt_text); + mDecryptFile = view.findViewById(R.id.decrypt_files); + mDecryptFromClipboard = view.findViewById(R.id.decrypt_from_clipboard); mClipboardIcon = view.findViewById(R.id.clipboard_icon); - mActionFile.setOnClickListener(new View.OnClickListener() { + mEncryptFile.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Intent encrypt = new Intent(getActivity(), EncryptFilesActivity.class); + startActivity(encrypt); + } + }); + + mEncryptText.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Intent encrypt = new Intent(getActivity(), EncryptTextActivity.class); + startActivity(encrypt); + } + }); + + mDecryptFile.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent filesDecrypt = new Intent(getActivity(), DecryptFilesActivity.class); @@ -64,7 +84,7 @@ public class DecryptOverviewFragment extends Fragment { } }); - mActionFromClipboard.setOnClickListener(new View.OnClickListener() { + mDecryptFromClipboard.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent clipboardDecrypt = new Intent(getActivity(), DecryptTextActivity.class); diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/NavDrawerActivity.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/NavDrawerActivity.java index 035bed412..d82e1c246 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/NavDrawerActivity.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/NavDrawerActivity.java @@ -40,10 +40,7 @@ public abstract class NavDrawerActivity extends MaterialNavigationDrawer { // create sections addSection(newSection(getString(R.string.title_keys), R.drawable.ic_vpn_key_black_24dp, new KeyListFragment())); - - addSection(newSection(getString(R.string.title_encrypt_text), R.drawable.ic_lock_outline_black_24dp, new Intent(this, EncryptTextActivity.class))); - addSection(newSection(getString(R.string.title_encrypt_files), R.drawable.ic_lock_outline_black_24dp, new Intent(this, EncryptFilesActivity.class))); - addSection(newSection(getString(R.string.title_decrypt), R.drawable.ic_lock_open_black_24dp, new DecryptOverviewFragment())); + addSection(newSection(getString(R.string.nav_encrypt_decrypt), R.drawable.ic_lock_black_24dp, new EncryptDecryptOverviewFragment())); addSection(newSection(getString(R.string.title_api_registered_apps), R.drawable.ic_apps_black_24dp, new AppsListFragment())); // create bottom section diff --git a/OpenKeychain/src/main/res/drawable-hdpi/ic_lock_black_24dp.png b/OpenKeychain/src/main/res/drawable-hdpi/ic_lock_black_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..0888c6173dfb99c04a6b473a889af14221e5eee2 GIT binary patch literal 397 zcmeAS@N?(olHy`uVBq!ia0vp^Dj>|k0wldT1B8K;Lb6AYF9SoB8UsT^3j@P1pisjL z28L1t28LG&3=CE?7#PG0=Ijcz0ZK3>dAqwX{BQ3+vmeOgEbxddW?mdKI;Vst0PLoQegFUf literal 0 HcmV?d00001 diff --git a/OpenKeychain/src/main/res/drawable-hdpi/ic_lock_open_black_24dp.png b/OpenKeychain/src/main/res/drawable-hdpi/ic_lock_open_black_24dp.png deleted file mode 100644 index 8ac075245b3205d6b846e33515a55186910541f2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 393 zcmeAS@N?(olHy`uVBq!ia0vp^Dj>|k0wldT1B8K;Lb6AYF9SoB8UsT^3j@P1pisjL z28L1t28LG&3=CE?7#PG0=Ijcz0ZK3>dAqwX{BQ3+vmeOgEbxddW?#g-FrIKZT1ZlcoR>YkJi-a3|5 zDTi|}xGdsnJlMH|x5|H#FVdQ&MBb@0FL8_g#Z8m diff --git a/OpenKeychain/src/main/res/drawable-hdpi/ic_lock_outline_black_24dp.png b/OpenKeychain/src/main/res/drawable-hdpi/ic_lock_outline_black_24dp.png deleted file mode 100644 index fc019db7231123c40ecc49eab07dc0aa9e853866..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 398 zcmeAS@N?(olHy`uVBq!ia0vp^Dj>|k0wldT1B8K;Lb6AYF9SoB8UsT^3j@P1pisjL z28L1t28LG&3=CE?7#PG0=Ijcz0ZK3>dAqwX{BQ3+vmeOgEbxddW?O=~G=WkJ` z+tbA{#NzbX3*KCZ3`ANV+OJ#KZ!79m`^Kw4)2WdC)>?~<)gEkKZO0=WbJk0We7$$E z@pG$+!Qq??4i>*PNw2J1K2)^asI!ZW(JZj=%Ii4A#=A)3l2G9m#{-Yswmdj@nC;P@ zNzo?K5yg(exBG2tcj>v9mq}LF^L$fTa^<4}qe3^kCPSsoijyZS|6JC0ZM?T;`}+lp fj9;n7&sKNqcz4m;V&^BIGZ{Qx{an^LB{Ts5$J1t} literal 0 HcmV?d00001 diff --git a/OpenKeychain/src/main/res/drawable-mdpi/ic_lock_open_black_24dp.png b/OpenKeychain/src/main/res/drawable-mdpi/ic_lock_open_black_24dp.png deleted file mode 100644 index 9e6d0f0ac399af82349f6c24c5023d45518ec75c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 295 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM0wlfaz7_*1g=CK)Uj~LMH3o);76yi2K%s^g z3=E|P3=FRl7#OT(FffQ0%-I!a1C(G&@^*J&_}|`tWO=~G=WkJ` z-_yl0#NzbXNse5H3IL+>55-*R=Y`|(LP juCLhWdGJER{NvomCGr`R8W(Q^I+elG)z4*}Q$iB}@8@Rt diff --git a/OpenKeychain/src/main/res/drawable-mdpi/ic_lock_outline_black_24dp.png b/OpenKeychain/src/main/res/drawable-mdpi/ic_lock_outline_black_24dp.png deleted file mode 100644 index 1df91994c3a91d1f4a63efb050576d219447170b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 294 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM0wlfaz7_*1g=CK)Uj~LMH3o);76yi2K%s^g z3=E|P3=FRl7#OT(FffQ0%-I!a1C(G&@^*J&_}|`tWO=~G=WkJ` z&(p;*#NzbXNzq(~3`AV~ckOXnxpucu%#+ybm38>OHYLV9FDk~U9zUL jwpVPn$r004R> z004l5008;`004mK004C`008P>0026e000+ooVrmw00002VoOIv0RM-N%)bBt010qN zS#tmY3ljhU3ljkVnw%H_00C-AL_t(o!|j&eN&-O?hd&omvMuQ)V(BrWyF$7!2@Ibq z=piD*kS-#62`i0=km@!JS4nTCo7tt+{WH!CLA1YfwR;Y~Z#ZXW82B$L(WJ$I88Zf) zb4)$K2s`!90i)9CN@=`w3m{m_!i9%?Ygf)F=W_q|Q_L|Ilo-LGQ09 zM=~zgGV?02T55)?FE8X=o@KV74`@k?T5PrUa oY^kimqs?e(^AQ(n_PKsr-{5k8d)mVqKL7v#07*qoM6N<$f+h&fMF0Q* literal 0 HcmV?d00001 diff --git a/OpenKeychain/src/main/res/drawable-xhdpi/ic_lock_open_black_24dp.png b/OpenKeychain/src/main/res/drawable-xhdpi/ic_lock_open_black_24dp.png deleted file mode 100644 index 9cd0501004b56e414c2a0b92577c3ad65fc71272..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 450 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA0wn)(8}a}tg=CK)Uj~LMH3o);76yi2K%s^g z3=E|}g|8AA7_4S6Fo+k-*%fF5lweBoc6VX;-`;;_Kaj^+;1OBOz`!jG!i)^F=14Fw zFj{%KIEF+VemnJ`*I@?{SN_;75x-=G{>+PN@!Ie8LHS5q+k->v1zs&uP;$IG&1;g= zW=U~Br=)Zbqsb+gEAywHzGJ*+rgdZSNvE-5K4Hbtjbc>k8(C;0zYccl3<=6C&P zKJQCT;MchQKJxRaeN7wW{PMOYo)TzKG``pM{(71F?DPLR3teY^(3$GrX}ZdF{>XAK^5YpXcKWdu0v&M-_Vc~jO&q;%S(`#_6}B=R`O1)3VJx-2xM4HfAJv%Y5!nuw4_6(D zVm>qrNL&IDllCz>vOXy1|8PU}*0j@h>sB7`njsON_-=K(N1QZ@-aRd97cgiUJYD@<);T3K0RUj_vkm|N diff --git a/OpenKeychain/src/main/res/drawable-xhdpi/ic_lock_outline_black_24dp.png b/OpenKeychain/src/main/res/drawable-xhdpi/ic_lock_outline_black_24dp.png deleted file mode 100644 index ae48a3bf71a1db8d672c906c5d6efb8f12a701df..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 484 zcmV004R> z004l5008;`004mK004C`008P>0026e000+ooVrmw00002VoOIv0RM-N%)bBt010qN zS#tmY3ljhU3ljkVnw%H_00CS{L_t(o!|hbuvxFeAI}9p`H$qB$3Yo#ULd-s`!*f58d5=pn|MRg8OFvy&2W zg%6}V^^SHq;uYK$#AV$u)*D&*Z;UWzpIHm<=18dtnyB)#Dr?T`_PpgcTG{(2)N)K6 z&w_aqwod47-@aDh>X-_)<8IIs5>1lr2=>n1AQq#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(NQ`%!aFFjiu$`GG=om;`RuVyxLfA{x%UFOGn~ zT@)nu)0ty{CYl&v?z(nEzjvGqzMzO*`|2Lf@U~P@pzSPqD=$z((p8f}9p8@aP1tdD z2j_HUUC}|R(H(;m-^*M&&LyIwGVjMI&h%U-~gI%{8t+HuAgm2IC+qE5rY`SAobWm6+IZf1DV$}&_xBA zpqxWIhena-2)STShlV2{Fhp7(R3+mG2$c0fJyK9dA7qe%rura3aEkoto(y6TgBbK* zKvqQY6D=YDEk~5~(SjVLiYV)%1v#jy87;^`JO#rA=^N>DpKP(=wU#Rtk@ zY1CKBz(pD(Qn% z(ITwb5AxH~9WBD+WP^5v6)nQs%H9!$2M->^;|He*@J0#Ttjz!b002ovPDHLkV1lne B0CWHV diff --git a/OpenKeychain/src/main/res/drawable-xxhdpi/ic_lock_outline_black_24dp.png b/OpenKeychain/src/main/res/drawable-xxhdpi/ic_lock_outline_black_24dp.png deleted file mode 100644 index cf149aa37f1f964b9dc2d7e0a58e5cbf5c974bba..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 675 zcmV;U0$lxxP)004R> z004l5008;`004mK004C`008P>0026e000+ooVrmw00002VoOIv0RM-N%)bBt010qN zS#tmY3ljhU3ljkVnw%H_00J9HL_t(&-tCz?O9Md=$N!p_2x@E-to#Umhad=+0kH}8 z63GV$60l0EU~ekH&Vbm9U=s2miXe6hz6z@(CdRdpJMVIj>|S;*M0ch+?q+X)H<{V{ z?*&jcVKz0==rC51zzUWT1@Ml0lyQzT^v3Zhi^$;(%*J1_iv_=NHt=E#qxln({=o!r z=nA9xJ_7#WoN(bVFdX}VWX(e zq{V?Mq(CL{oomN?@o`uiv!Xyu+J;-`o@!xKKnh3!O+Jt&QAU&&vi2B*62)CwFfaQM zk->Hn#Z6j}17!rI1vyYfOj_{VbF{a;y+m=87XR>V-xN6O3sAxK?9uqvp$Hn5lCF-k z?SVMz130m9E{s1}N~44pTDZdYko^{U+bfZ;fE17d`h!5ue=>a-v<{O#Z(BS=P0~a( z#eoW>KprHDowShURWBbstKjAz5!Sa+ehngaHIeL002ov JPDHLkV1hMEAEN*O diff --git a/OpenKeychain/src/main/res/drawable-xxxhdpi/ic_lock_black_24dp.png b/OpenKeychain/src/main/res/drawable-xxxhdpi/ic_lock_black_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..db080df4eb8fbf2501c9e2f7c35d78b6ce8aa966 GIT binary patch literal 830 zcmV-E1Ht@>P)004R> z004l5008;`004mK004C`008P>0026e000+ooVrmw00002VoOIv0RM-N%)bBt010qN zS#tmY3ljhU3ljkVnw%H_00Op2L_t(|+U=XaPZU8E$3I8p?y&SnqiAd(5Ta;dq%p*Q zLK9nxy8s1&2I-CTfOi;j4W*IfqLI!J{{V6!7YL9jLag*k?^khaVXnB@+vRo{c4p0c zuif|Z{p`M(H?unnVq#*tt&a(o*rH5@CQT}o`M@il&}YB+J1p}P$HUKf!)<%T-(a1l zr}(xv$Z_39`7f!QE57Z&d106Me%|#gzU^Nb;Ycj>$+;&`p)3FQFl30qUzi-1F-BWp0S?d9#T^xUz=I7scW9Oo?{o4 z$Ws#015CJPp5Ev5q^pb`M-Q;1NSF^4tv-Xr=mEAA3Bi`h_mt@O(F2r~t{c>Tbj0sP z5761dih<*|m39`nb@qTl;P_2tn-jTp)^I*>{DzW200ck)1V8}n26#lCBO0OKK=kSj z4#_dDSNwqMeqFY=$dlG5|7*nZ|M`wCgbgF|9UO9cYTq&DEgfSaZxBGso4X^U00$Qb zXcz^k>uy-ly8sA)00@8p2!H?xKpX*f$uLBcB*SDW#S5Uyl#(Su#`S5>T7W7~yJngU zg6004R> z004l5008;`004mK004C`008P>0026e000+ooVrmw00002VoOIv0RM-N%)bBt010qN zS#tmY3ljhU3ljkVnw%H_00QYrL_t(|+U=V^Z__{+#-FA%q)26eG8778>Qa?b2@rGm z4j}OX=vvW*FM#NdOI(z1fW!i7C#(t~78nphsajA7jSvIvgn&3gK87lT&#~{$clKS> z_kAZfe$UVEeE*&(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QJKmY_VEU^S1dk71^fskz>cG1A1S@DyJWvA>G!AH%U{MQxB zKWf{i5SmuxGcYvF)IPJ;BJo%d&qB)V z45j zzr$!DBLD&*00JNY0w92@Li~&KK4;QdrTRksC(yCl!EJqjz$$pEx&j?bMoUJw`}RE9-4xJf`Z~$$A3v0$;J4_lf3`{002ov JPDHLkV1izPl4$?{ diff --git a/OpenKeychain/src/main/res/layout/decrypt_overview_fragment.xml b/OpenKeychain/src/main/res/layout/encrypt_decrypt_overview_fragment.xml similarity index 69% rename from OpenKeychain/src/main/res/layout/decrypt_overview_fragment.xml rename to OpenKeychain/src/main/res/layout/encrypt_decrypt_overview_fragment.xml index c3e31bf11..465fd195e 100644 --- a/OpenKeychain/src/main/res/layout/decrypt_overview_fragment.xml +++ b/OpenKeychain/src/main/res/layout/encrypt_decrypt_overview_fragment.xml @@ -12,7 +12,44 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="16dp" - android:text="@string/section_decrypt_files" /> + android:text="@string/section_encrypt" /> + + + + + + - - + android:background="?android:attr/listDivider" /> "Files" "Text" "Certificates" + "Encrypt" + "Decrypt" "Decrypt, verify, and save file" @@ -82,9 +84,11 @@ "Create key" "Add file(s)" "Share decrypted text" - "Decrypt from clipboard" + "Decrypt text from clipboard" "and verify signatures" "Decrypt files" + "Encrypt files" + "Encrypt text" "Settings" @@ -584,9 +588,7 @@ "Keys" - "Encrypt text" - "Encrypt files" - "Decrypt" + "Encrypt/Decrypt" "Apps" "Open navigation drawer" "Close navigation drawer"