aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/values
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-12-27 20:52:52 +0100
committerChristian Schneppe <christian@pix-art.de>2018-12-27 20:52:52 +0100
commit815421f92acf7fce4664fcda196a31c515379204 (patch)
tree3bbb142eb0657679d9b63ec1403feb6c91687434 /src/main/res/values
parent55058cca9d8ed5343bc4398fe0ea87633d8a485d (diff)
added epub and azw mime types. try to resolve application/octet-stream by file extension instead. added preview icons for ebooks
Diffstat (limited to 'src/main/res/values')
-rw-r--r--src/main/res/values/attrs.xml1
-rw-r--r--src/main/res/values/strings.xml1
-rw-r--r--src/main/res/values/themes.xml2
3 files changed, 4 insertions, 0 deletions
diff --git a/src/main/res/values/attrs.xml b/src/main/res/values/attrs.xml
index 8c824c7a6..e3f355814 100644
--- a/src/main/res/values/attrs.xml
+++ b/src/main/res/values/attrs.xml
@@ -51,6 +51,7 @@
<attr name="media_preview_app" format="reference" />
<attr name="media_preview_calendar" format="reference" />
<attr name="media_preview_archive" format="reference" />
+ <attr name="media_preview_ebook" format="reference" />
<attr name="media_preview_unknown" format="reference" />
<attr name="icon_add_group" format="reference" />
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index 4be0790c8..1fcd8c745 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -849,4 +849,5 @@
<string name="start_orbot">Start Orbot</string>
<string name="no_market_app_installed">No market app installed.</string>
<string name="group_chat_will_make_your_jabber_id_public">This group chat will make your Jabber ID public</string>
+ <string name="ebook">e-book</string>
</resources>
diff --git a/src/main/res/values/themes.xml b/src/main/res/values/themes.xml
index c10f8bffd..92e7cd49c 100644
--- a/src/main/res/values/themes.xml
+++ b/src/main/res/values/themes.xml
@@ -74,6 +74,7 @@
<item name="media_preview_app" type="reference">@drawable/ic_android_black_48dp</item>
<item name="media_preview_calendar" type="reference">@drawable/ic_event_black_48dp</item>
<item name="media_preview_archive" type="reference">@drawable/ic_archive_black_48dp</item>
+ <item name="media_preview_ebook" type="reference">@drawable/ic_book_black_48dp</item>
<item name="media_preview_unknown" type="reference">@drawable/ic_help_black_48dp</item>
<item name="icon_add_group" type="reference">@drawable/ic_group_add_white_24dp</item>
@@ -249,6 +250,7 @@
<item name="media_preview_app" type="reference">@drawable/ic_android_white_48dp</item>
<item name="media_preview_calendar" type="reference">@drawable/ic_event_white_48dp</item>
<item name="media_preview_archive" type="reference">@drawable/ic_archive_white_48dp</item>
+ <item name="media_preview_ebook" type="reference">@drawable/ic_book_white_48dp</item>
<item name="media_preview_unknown" type="reference">@drawable/ic_help_white_48dp</item>
<item name="icon_add_group" type="reference">@drawable/ic_group_add_white_24dp</item>