remove unnecessary "Add Attachment" title

//FREEBIE
This commit is contained in:
Jake McGinty 2015-05-20 15:41:29 -07:00
parent bd6bee8da7
commit 4aa4ab50c4
11 changed files with 2 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 301 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 588 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 569 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 813 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 837 B

View File

@ -32,7 +32,6 @@
<attr name="conversation_transport_popup_background" format="reference"/> <attr name="conversation_transport_popup_background" format="reference"/>
<attr name="conversation_emoji_toggle" format="reference"/> <attr name="conversation_emoji_toggle" format="reference"/>
<attr name="conversation_keyboard_toggle" format="reference"/> <attr name="conversation_keyboard_toggle" format="reference"/>
<attr name="conversation_attach_file" format="reference"/>
<attr name="conversation_attach_image" format="reference"/> <attr name="conversation_attach_image" format="reference"/>
<attr name="conversation_attach_video" format="reference"/> <attr name="conversation_attach_video" format="reference"/>
<attr name="conversation_attach_sound" format="reference"/> <attr name="conversation_attach_sound" format="reference"/>

View File

@ -48,7 +48,6 @@
<item name="conversation_transport_popup_background">@color/white</item> <item name="conversation_transport_popup_background">@color/white</item>
<item name="conversation_emoji_toggle">@drawable/ic_mood_grey600_24dp</item> <item name="conversation_emoji_toggle">@drawable/ic_mood_grey600_24dp</item>
<item name="conversation_keyboard_toggle">@drawable/ic_keyboard_grey600_24dp</item> <item name="conversation_keyboard_toggle">@drawable/ic_keyboard_grey600_24dp</item>
<item name="conversation_attach_file">@drawable/ic_attach_file_light</item>
<item name="conversation_attach_image">@drawable/ic_image_light</item> <item name="conversation_attach_image">@drawable/ic_image_light</item>
<item name="conversation_attach_video">@drawable/ic_movie_creation_light</item> <item name="conversation_attach_video">@drawable/ic_movie_creation_light</item>
<item name="conversation_attach_sound">@drawable/ic_volume_up_light</item> <item name="conversation_attach_sound">@drawable/ic_volume_up_light</item>
@ -185,7 +184,6 @@
<item name="conversation_transport_popup_background">@color/black</item> <item name="conversation_transport_popup_background">@color/black</item>
<item name="conversation_emoji_toggle">@drawable/ic_mood_white_24dp</item> <item name="conversation_emoji_toggle">@drawable/ic_mood_white_24dp</item>
<item name="conversation_keyboard_toggle">@drawable/ic_keyboard_white_24dp</item> <item name="conversation_keyboard_toggle">@drawable/ic_keyboard_white_24dp</item>
<item name="conversation_attach_file">@drawable/ic_attach_file_dark</item>
<item name="conversation_attach_image">@drawable/ic_image_dark</item> <item name="conversation_attach_image">@drawable/ic_image_dark</item>
<item name="conversation_attach_video">@drawable/ic_movie_creation_dark</item> <item name="conversation_attach_video">@drawable/ic_movie_creation_dark</item>
<item name="conversation_attach_sound">@drawable/ic_volume_up_dark</item> <item name="conversation_attach_sound">@drawable/ic_volume_up_dark</item>

View File

@ -533,11 +533,8 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
private void handleAddAttachment() { private void handleAddAttachment() {
if (this.isMmsEnabled || DirectoryHelper.isPushDestination(this, getRecipients())) { if (this.isMmsEnabled || DirectoryHelper.isPushDestination(this, getRecipients())) {
AlertDialogWrapper.Builder builder = new AlertDialogWrapper.Builder(this); new AlertDialogWrapper.Builder(this).setAdapter(attachmentAdapter, new AttachmentTypeListener())
builder.setIconAttribute(R.attr.conversation_attach_file); .show();
builder.setTitle(R.string.ConversationActivity_add_attachment);
builder.setAdapter(attachmentAdapter, new AttachmentTypeListener());
builder.show();
} else { } else {
handleManualMmsRequired(); handleManualMmsRequired();
} }