mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-30 23:00:09 -05:00
broke addAttachmentView into its own sub
This commit is contained in:
parent
524350a960
commit
ae53a0c5ff
@ -1317,7 +1317,12 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
|
|||||||
Log.v(K9.LOG_TAG, "old attachment.size: " + attachment.size);
|
Log.v(K9.LOG_TAG, "old attachment.size: " + attachment.size);
|
||||||
}
|
}
|
||||||
Log.v(K9.LOG_TAG, "new attachment.size: " + attachment.size);
|
Log.v(K9.LOG_TAG, "new attachment.size: " + attachment.size);
|
||||||
|
addAttachmentView(attachment);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void addAttachmentView(Attachment attachment)
|
||||||
|
{
|
||||||
View view = getLayoutInflater().inflate(R.layout.message_compose_attachment, mAttachments, false);
|
View view = getLayoutInflater().inflate(R.layout.message_compose_attachment, mAttachments, false);
|
||||||
TextView nameView = (TextView)view.findViewById(R.id.attachment_name);
|
TextView nameView = (TextView)view.findViewById(R.id.attachment_name);
|
||||||
ImageButton delete = (ImageButton)view.findViewById(R.id.attachment_delete);
|
ImageButton delete = (ImageButton)view.findViewById(R.id.attachment_delete);
|
||||||
|
Loading…
Reference in New Issue
Block a user