Merge branch 'new_filetype_icons' of https://github.com/owncloud/android into material_buttons
BIN
res/drawable-hdpi/file_text.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 457 B |
Before Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 871 B |
Before Width: | Height: | Size: 802 B |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 306 B |
Before Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 486 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 877 B |
Before Width: | Height: | Size: 259 B |
Before Width: | Height: | Size: 566 B |
Before Width: | Height: | Size: 457 B |
Before Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 594 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 1.8 KiB |
BIN
res/drawable-mdpi/file_text.png
Normal file
After Width: | Height: | Size: 836 B |
BIN
res/drawable-xhdpi/file_text.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
res/drawable-xxhdpi/file_text.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
|
@ -159,7 +159,7 @@ public class MimetypeIconUtil {
|
|||
*/
|
||||
private static void populateMimeTypeIconMapping() {
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/coreldraw", R.drawable.file_image);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/epub+zip", R.drawable.file_doc);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/epub+zip", R.drawable.file_text);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/font-sfnt", R.drawable.file_image);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/font-woff", R.drawable.file_image);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/illustrator", R.drawable.file_image);
|
||||
|
@ -173,7 +173,7 @@ public class MimetypeIconUtil {
|
|||
MIMETYPE_TO_ICON_MAPPING.put("application/postscript", R.drawable.file_image);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/pdf", R.drawable.file_pdf);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/rss+xml", R.drawable.file_code);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/rtf", R.drawable.file_doc);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/rtf", R.drawable.file);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/vnd.android.package-archive", R.drawable.file_zip);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/vnd.ms-excel", R.drawable.file_xls);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/vnd.ms-excel.addin.macroEnabled.12", R.drawable.file_xls);
|
||||
|
@ -205,7 +205,7 @@ public class MimetypeIconUtil {
|
|||
MIMETYPE_TO_ICON_MAPPING.put("application/vnd.openxmlformats-officedocument.wordprocessingml.template", R.drawable.file_doc);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/x-7z-compressed", R.drawable.file_zip);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/x-bin", R.drawable.file_application);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/x-cbr", R.drawable.file_doc);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/x-cbr", R.drawable.file_text);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/x-compressed", R.drawable.file_zip);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/x-dcraw", R.drawable.file_image);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/x-deb", R.drawable.file_zip);
|
||||
|
@ -223,8 +223,8 @@ public class MimetypeIconUtil {
|
|||
MIMETYPE_TO_ICON_MAPPING.put("application/x-rar-compressed", R.drawable.file_zip);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/x-shockwave-flash", R.drawable.file_application);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/x-tar", R.drawable.file_zip);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/x-tex", R.drawable.file_doc);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/xml", R.drawable.file_code);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/x-tex", R.drawable.file_text);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/xml", R.drawable.file_text);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/yaml", R.drawable.file_code);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("application/zip", R.drawable.file_zip);
|
||||
MIMETYPE_TO_ICON_MAPPING.put("database", R.drawable.file);
|
||||
|
@ -253,7 +253,7 @@ public class MimetypeIconUtil {
|
|||
MAINMIMETYPE_TO_ICON_MAPPING.put("database", R.drawable.file);
|
||||
MAINMIMETYPE_TO_ICON_MAPPING.put("httpd", R.drawable.file_zip);
|
||||
MAINMIMETYPE_TO_ICON_MAPPING.put("image", R.drawable.file_image);
|
||||
MAINMIMETYPE_TO_ICON_MAPPING.put("text", R.drawable.file_doc);
|
||||
MAINMIMETYPE_TO_ICON_MAPPING.put("text", R.drawable.file_text);
|
||||
MAINMIMETYPE_TO_ICON_MAPPING.put("video", R.drawable.file_movie);
|
||||
MAINMIMETYPE_TO_ICON_MAPPING.put("web", R.drawable.file_code);
|
||||
}
|
||||
|
|