48
artwork/ic_contact.svg
Normal file
@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
sodipodi:docname="ic_contact.svg"
|
||||
inkscape:version="0.91pre3 r13670"
|
||||
x="0px"
|
||||
y="0px"
|
||||
width="48px"
|
||||
height="48px"
|
||||
viewBox="0 0 48 48"
|
||||
enable-background="new 0 0 48 48"
|
||||
xml:space="preserve"><metadata
|
||||
id="metadata8"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs6" /><sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="798"
|
||||
inkscape:window-height="480"
|
||||
id="namedview4"
|
||||
showgrid="false"
|
||||
inkscape:zoom="4.9166667"
|
||||
inkscape:cx="24"
|
||||
inkscape:cy="24"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg2" /><path
|
||||
id="path4"
|
||||
d="M38,6H10c-2.21,0-4,1.79-4,4v28c0,2.21,1.79,4,4,4h28c2.21,0,4-1.79,4-4V10C42,7.79,40.21,6,38,6z M24,12 c3.31,0,6,2.69,6,6c0,3.32-2.69,6-6,6s-6-2.68-6-6C18,14.69,20.69,12,24,12z M36,36H12v-2c0-4,8-6.2,12-6.2S36,30,36,34V36z"
|
||||
style="opacity:1;fill:#000000" /></svg>
|
After Width: | Height: | Size: 1.8 KiB |
BIN
res/drawable-hdpi-v11/ic_attach_file.png
Normal file
After Width: | Height: | Size: 394 B |
Before Width: | Height: | Size: 353 B |
Before Width: | Height: | Size: 573 B |
Before Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-hdpi/ic_attach_file.png
Normal file
After Width: | Height: | Size: 407 B |
Before Width: | Height: | Size: 479 B |
Before Width: | Height: | Size: 489 B |
BIN
res/drawable-hdpi/ic_contact.png
Normal file
After Width: | Height: | Size: 304 B |
Before Width: | Height: | Size: 353 B |
BIN
res/drawable-hdpi/ic_image.png
Normal file
After Width: | Height: | Size: 287 B |
BIN
res/drawable-hdpi/ic_movie_creation.png
Normal file
After Width: | Height: | Size: 204 B |
BIN
res/drawable-hdpi/ic_volume_up.png
Normal file
After Width: | Height: | Size: 367 B |
BIN
res/drawable-mdpi-v11/ic_attach_file.png
Normal file
After Width: | Height: | Size: 301 B |
Before Width: | Height: | Size: 251 B |
Before Width: | Height: | Size: 468 B |
Before Width: | Height: | Size: 711 B |
BIN
res/drawable-mdpi/ic_attach_file.png
Normal file
After Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 398 B |
Before Width: | Height: | Size: 357 B |
BIN
res/drawable-mdpi/ic_contact.png
Normal file
After Width: | Height: | Size: 236 B |
Before Width: | Height: | Size: 254 B |
BIN
res/drawable-mdpi/ic_image.png
Normal file
After Width: | Height: | Size: 219 B |
BIN
res/drawable-mdpi/ic_movie_creation.png
Normal file
After Width: | Height: | Size: 255 B |
BIN
res/drawable-mdpi/ic_volume_up.png
Normal file
After Width: | Height: | Size: 295 B |
BIN
res/drawable-xhdpi-v11/ic_attach_file.png
Normal file
After Width: | Height: | Size: 569 B |
Before Width: | Height: | Size: 405 B |
Before Width: | Height: | Size: 781 B |
Before Width: | Height: | Size: 1.6 KiB |
BIN
res/drawable-xhdpi/ic_attach_file.png
Normal file
After Width: | Height: | Size: 588 B |
Before Width: | Height: | Size: 598 B |
Before Width: | Height: | Size: 581 B |
BIN
res/drawable-xhdpi/ic_contact.png
Normal file
After Width: | Height: | Size: 379 B |
Before Width: | Height: | Size: 405 B |
BIN
res/drawable-xhdpi/ic_image.png
Normal file
After Width: | Height: | Size: 363 B |
BIN
res/drawable-xhdpi/ic_movie_creation.png
Normal file
After Width: | Height: | Size: 387 B |
BIN
res/drawable-xhdpi/ic_volume_up.png
Normal file
After Width: | Height: | Size: 538 B |
BIN
res/drawable-xxhdpi-v11/ic_attach_file.png
Normal file
After Width: | Height: | Size: 837 B |
Before Width: | Height: | Size: 541 B |
Before Width: | Height: | Size: 1004 B |
BIN
res/drawable-xxhdpi/ic_attach_file.png
Normal file
After Width: | Height: | Size: 813 B |
BIN
res/drawable-xxhdpi/ic_contact.png
Normal file
After Width: | Height: | Size: 540 B |
Before Width: | Height: | Size: 541 B |
BIN
res/drawable-xxhdpi/ic_image.png
Normal file
After Width: | Height: | Size: 494 B |
BIN
res/drawable-xxhdpi/ic_movie_creation.png
Normal file
After Width: | Height: | Size: 346 B |
BIN
res/drawable-xxhdpi/ic_volume_up.png
Normal file
After Width: | Height: | Size: 720 B |
@ -561,7 +561,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||
private void handleAddAttachment() {
|
||||
if (this.isMmsEnabled || DirectoryHelper.isPushDestination(this, getRecipients())) {
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(new ContextThemeWrapper(this, R.style.TextSecure_Light_Dialog));
|
||||
builder.setIcon(R.drawable.ic_dialog_attach);
|
||||
builder.setIcon(R.drawable.ic_attach_file);
|
||||
builder.setTitle(R.string.ConversationActivity_add_attachment);
|
||||
builder.setAdapter(attachmentAdapter, new AttachmentTypeListener());
|
||||
builder.show();
|
||||
|
@ -70,10 +70,10 @@ public class AttachmentTypeSelectorAdapter extends ArrayAdapter<AttachmentTypeSe
|
||||
|
||||
private static List<IconListItem> getItemList(Context context) {
|
||||
List<IconListItem> data = new ArrayList<>(4);
|
||||
addItem(data, context.getString(R.string.AttachmentTypeSelectorAdapter_picture), R.drawable.ic_attach_picture_holo_light, ADD_IMAGE);
|
||||
addItem(data, context.getString(R.string.AttachmentTypeSelectorAdapter_video), R.drawable.ic_attach_video_holo_light, ADD_VIDEO);
|
||||
addItem(data, context.getString(R.string.AttachmentTypeSelectorAdapter_audio), R.drawable.ic_attach_audio_holo_light, ADD_SOUND);
|
||||
addItem(data, context.getString(R.string.AttachmentTypeSelectorAdapter_contact), R.drawable.ic_action_person, ADD_CONTACT_INFO);
|
||||
addItem(data, context.getString(R.string.AttachmentTypeSelectorAdapter_picture), R.drawable.ic_image, ADD_IMAGE);
|
||||
addItem(data, context.getString(R.string.AttachmentTypeSelectorAdapter_video), R.drawable.ic_movie_creation, ADD_VIDEO);
|
||||
addItem(data, context.getString(R.string.AttachmentTypeSelectorAdapter_audio), R.drawable.ic_volume_up, ADD_SOUND);
|
||||
addItem(data, context.getString(R.string.AttachmentTypeSelectorAdapter_contact), R.drawable.ic_contact, ADD_CONTACT_INFO);
|
||||
|
||||
return data;
|
||||
}
|
||||
|