From 4aa4ab50c4a8b9c39cc0e61d1f9a9edf80cdcab1 Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Wed, 20 May 2015 15:41:29 -0700 Subject: [PATCH] remove unnecessary "Add Attachment" title //FREEBIE --- res/drawable-hdpi/ic_attach_file_dark.png | Bin 407 -> 0 bytes res/drawable-hdpi/ic_attach_file_light.png | Bin 394 -> 0 bytes res/drawable-mdpi/ic_attach_file_dark.png | Bin 321 -> 0 bytes res/drawable-mdpi/ic_attach_file_light.png | Bin 301 -> 0 bytes res/drawable-xhdpi/ic_attach_file_dark.png | Bin 588 -> 0 bytes res/drawable-xhdpi/ic_attach_file_light.png | Bin 569 -> 0 bytes res/drawable-xxhdpi/ic_attach_file_dark.png | Bin 813 -> 0 bytes res/drawable-xxhdpi/ic_attach_file_light.png | Bin 837 -> 0 bytes res/values/attrs.xml | 1 - res/values/themes.xml | 2 -- .../securesms/ConversationActivity.java | 7 ++----- 11 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 res/drawable-hdpi/ic_attach_file_dark.png delete mode 100644 res/drawable-hdpi/ic_attach_file_light.png delete mode 100644 res/drawable-mdpi/ic_attach_file_dark.png delete mode 100644 res/drawable-mdpi/ic_attach_file_light.png delete mode 100644 res/drawable-xhdpi/ic_attach_file_dark.png delete mode 100644 res/drawable-xhdpi/ic_attach_file_light.png delete mode 100644 res/drawable-xxhdpi/ic_attach_file_dark.png delete mode 100644 res/drawable-xxhdpi/ic_attach_file_light.png diff --git a/res/drawable-hdpi/ic_attach_file_dark.png b/res/drawable-hdpi/ic_attach_file_dark.png deleted file mode 100644 index bd61803f925d0bc7376d6a36323ec5f4cfde3cfc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 407 zcmV;I0cie-P)L?u`oysVq%ksM1-_qF_8EI6(SO!K@kxH38Jf5^b)nP z)*#j7q*D2@-X5pJIq!1Q^BX#Cr1WKR;N}vQvU>TzS5NLo0XM;7dN>8MwM~rw5+o11^A%c4cmC_yo@91L~&WV&=vr z@Y8{iFE_#5@&CS_Fb6k6-t6-M%w4vz^mDHG4c^-u@~7!LV5F;M)25c5ExhaeuYLWr{dtQ|wM7 zneQ}*duPsBwi;%HWh%7jDm9f0uu7I|Mnq#8aYfc%{4>!6J=v1l@|Dekdg00039Nklr6?k+!R9XR zMHe|ghVSRfP850p{xZEAc!AETZP2e8_1*G3<8=e~h)^RLp z9_Nh!DGvZfqbQ-tm(5^+P=&$k$wO7}= TT(sN)00000NkvXXu0mjff|!hg diff --git a/res/drawable-mdpi/ic_attach_file_light.png b/res/drawable-mdpi/ic_attach_file_light.png deleted file mode 100644 index 3facb8a506eae90a6bd897ffd32f2e27a7b3f581..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 301 zcmV+|0n+}7P)kdg0002=NklccV?dIu8qh!`U>qcgh;tStia+8a4!ynaU)?2KuwCvM zGBwY4c&GCjkM;R(XlAUXBH2gha zJZPHBJnDjK*^lK^82HyW;aLg0!i|c*4TK9NR4s+R_r7`)ww2PB%k)$L{O}}9l{OH< z!jZPVYq>C2lVIPAD3%$iO7uy~Pg7@l8rJ0xe%fmWupFWC00000NkvXXu0mjfU*~}* diff --git a/res/drawable-xhdpi/ic_attach_file_dark.png b/res/drawable-xhdpi/ic_attach_file_dark.png deleted file mode 100644 index 354e5058371ba3adf1f4f518f3e75a0e2c92a65c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 588 zcmV-S0<-;zP)sj4(hqXB5{+Pkb7)ogla;r6S!VKLWF4s7~m!IL@3B5?qQ(FF;?j})^RP0 zC~-ip(8dyGh$j7kPUbM91agC3%mht};SeFFTP{$?2h1r|#1qV2S8w0Ukx@k)#=MgY zbYlip1zF6DT;L?;k*XlTgmQsArcYI2_&);TLGb_#ZUTIO5AXp#zz6sMAK(LgfDiBi zKHw& z^eY*>!kkr27{r`cGPsN>Qm=nvKPF_elED@hYTZN~FEGPO4!1Ci9MrP7jVaNgy+e5BkIopOcad|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Y$KX{hig~+v(+yYU#z`d@0`>A^TF%}wxfS? zi&pBDOYd*77j~1sDIR!8D|g=9w<0a&mTTO0*ao^yd_AvbZw}{uy^{+VkKFgL;TGO1 z?!3t6c|b+q$(EZuR*lV9)E2w=Yy6vcI{H<`j=O6F(+XB?aqbhW%2>E?kyw?4;_-Ff z&q{v$JtC-9Sd(>VTHianZLjs}W>0ao{i^aaCj94Vm9@LCHYoPrz01m`vv*n}N2b_Q zBh8ScMmwcx_q83HMAk - diff --git a/res/values/themes.xml b/res/values/themes.xml index 70672c03e9..f528fbc274 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -48,7 +48,6 @@ @color/white @drawable/ic_mood_grey600_24dp @drawable/ic_keyboard_grey600_24dp - @drawable/ic_attach_file_light @drawable/ic_image_light @drawable/ic_movie_creation_light @drawable/ic_volume_up_light @@ -185,7 +184,6 @@ @color/black @drawable/ic_mood_white_24dp @drawable/ic_keyboard_white_24dp - @drawable/ic_attach_file_dark @drawable/ic_image_dark @drawable/ic_movie_creation_dark @drawable/ic_volume_up_dark diff --git a/src/org/thoughtcrime/securesms/ConversationActivity.java b/src/org/thoughtcrime/securesms/ConversationActivity.java index 11ddd2618e..296631d601 100644 --- a/src/org/thoughtcrime/securesms/ConversationActivity.java +++ b/src/org/thoughtcrime/securesms/ConversationActivity.java @@ -533,11 +533,8 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity private void handleAddAttachment() { if (this.isMmsEnabled || DirectoryHelper.isPushDestination(this, getRecipients())) { - AlertDialogWrapper.Builder builder = new AlertDialogWrapper.Builder(this); - builder.setIconAttribute(R.attr.conversation_attach_file); - builder.setTitle(R.string.ConversationActivity_add_attachment); - builder.setAdapter(attachmentAdapter, new AttachmentTypeListener()); - builder.show(); + new AlertDialogWrapper.Builder(this).setAdapter(attachmentAdapter, new AttachmentTypeListener()) + .show(); } else { handleManualMmsRequired(); }