MuPDF: Add new launcher icon with monet support
Change-Id: I02783bef4addf9d5725b0a1a1d266549b7946c29
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 40d54c9..6303ac3 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -5,7 +5,7 @@
>
<application
android:label="MuPDF viewer"
- android:icon="@drawable/ic_mupdf"
+ android:icon="@mipmap/ic_launcher"
>
<activity
android:name=".LibraryActivity"
diff --git a/app/src/main/res/drawable/ic_foreground.xml b/app/src/main/res/drawable/ic_foreground.xml
new file mode 100644
index 0000000..8a356a2
--- /dev/null
+++ b/app/src/main/res/drawable/ic_foreground.xml
@@ -0,0 +1,203 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt"
+ android:viewportWidth="432"
+ android:viewportHeight="432"
+ android:width="108dp"
+ android:height="108dp"
+ android:tint="@android:color/system_neutral2_700">
+ <path
+ android:pathData="M178.5 134L231.5 134L232.5 135L238 134.5Q238.6 137.3 232.5 136L232.5 137L237 137.5L236 140L232 140.5L235 141.5L232 142.5L234 143.5L228 144.5L232 145.5L230 146.5L230.5 148L228 148.5L230 149.5L228 150Q229.3 153.3 224.5 152L224.5 153L227 153.5L224 154.5L226 155.5L220 156.5L224 157L222.5 160L216 160.5L222 161.5L220 162Q221.3 165.3 216.5 164L216.5 165L219 165.5L216 166.5L216.5 168L212 168.5L215 169.5L212 170.5L214 171.5L208 172.5L212 173.5L210 174.5L210.5 176L206.5 177L204.5 174L201.5 175L200.5 174L179 174L179 223.5L179.5 224L190.5 224L190.5 225L179.5 225L178 223.5L178 208L172.5 208L172.5 209L177 209.5L172 210.5L174 211.5L168 212.5L172 213.5L168 214.5L168.5 216L167 215.5L167 144.5L172.5 137L178.5 134Z"
+ android:fillColor="#0A0A0A"
+ android:fillAlpha="0.9490196"
+ android:strokeColor="#0A0A0A"
+ android:strokeAlpha="0.9490196"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M134 167L148.5 167L149 167.5L149 223.5L148.5 228L144 228.5L149 229.5L146.5 232L140 232.5L144 233.5L140 234Q141.4 238 134.5 236L134 231.5L134 167Z"
+ android:fillColor="#0A0A0A"
+ android:fillAlpha="0.9490196"
+ android:strokeColor="#0A0A0A"
+ android:strokeAlpha="0.9490196"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M248.5 176L251.5 180L248.5 176Z"
+ android:fillColor="#0A0A0A"
+ android:fillAlpha="0.9490196"
+ android:strokeColor="#0A0A0A"
+ android:strokeAlpha="0.9490196"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M192.5 187L199 187.5L196 188.5L198 189.5L196 190Q197.3 193.3 192.5 192L192.5 187Z"
+ android:fillColor="#0A0A0A"
+ android:fillAlpha="0.9490196"
+ android:strokeColor="#0A0A0A"
+ android:strokeAlpha="0.9490196"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M134.5 237L137 237.5L134.5 238L134.5 237Z"
+ android:fillColor="#0A0A0A"
+ android:fillAlpha="0.9490196"
+ android:strokeColor="#0A0A0A"
+ android:strokeAlpha="0.9490196"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M170.5 259L172.5 262L170.5 259Z"
+ android:fillColor="#0A0A0A"
+ android:fillAlpha="0.9490196"
+ android:strokeColor="#0A0A0A"
+ android:strokeAlpha="0.9490196"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M180.5 133L286 133.5L180.5 134L180.5 133Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.6980392"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.6980392"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M298.5 146L299 252.5L298 252.5L298.5 146Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.6980392"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.6980392"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M166.5 147L167 251.5L166 251.5L166.5 147Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.6980392"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.6980392"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M134.5 166L148.5 166L150 167.5L150 282L265.5 282L265.5 283L150.5 283L149 281.5L149 167.5L148.5 167L134 167L133.5 286L133 167.5L134.5 166Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.6980392"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.6980392"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M286.5 174L287 186.5L286 186.5L286.5 174Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.6980392"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.6980392"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M207.5 177L209.5 180L207.5 177Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.6980392"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.6980392"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M253.5 185L254 213.5L253 213.5L253.5 185Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.6980392"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.6980392"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M191.5 187L192 195L199 195.5L191 196L191.5 187Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.6980392"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.6980392"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M274.5 195L285.5 195L287 196.5L286.5 208L286 196L274.5 196L274.5 195Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.6980392"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.6980392"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M209.5 202L205.5 207L209.5 202Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.6980392"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.6980392"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M191.5 208L192 223.5L191 223.5L191.5 208Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.6980392"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.6980392"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M233.5 211L241 211.5L233.5 212L233.5 211Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.6980392"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.6980392"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M251.5 218L250.5 220L251.5 218Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.6980392"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.6980392"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M146.5 298L266 298.5L146.5 299L146.5 298Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.6980392"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.6980392"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M238 134L286.5 134L295 139.5L298 145.5L298 224L296 224.5L298 225.5L296 226.5L296.5 228L292 228.5L295 229.5L292 230.5L294 231.5L288 232.5L292 233.5L288 234.5L290 235.5L284 236.5L289 237.5L286.5 240L280 240.5L285 241.5L282 242.5L284 243.5L280 244.5L282 245.5L280 246Q281.4 250 274.5 248L274.5 249L278 249.5L276 250.5L276.5 252L272 252.5L275 253.5L272 254.5L272.5 256L268 256.5L271 257.5L268 258.5L268.5 260L264 260.5L267 261.5L264 262.5L264.5 264L260 264.5L263 265.5L183.5 266L174.5 263L169 257.5L167 253.5L167 216L169 215.5L168.5 214L172 213.5L168 212.5L174 211.5L172 210.5L177 209.5L172 208.5L178 208L178 223.5L179.5 225L190.5 225L192 223.5L192 208L203.5 208L209 205L212 198.5L212 183.5L209 177L207 176.5L211 175.5L210.5 174L212 173.5L208 172.5L214 171.5L212 170.5L215 169.5L212 168.5L217 167.5L216.5 166L219 165.5L216 164.5L220 164Q218.9 161.3 221.5 162L221.5 161L216 160.5L223 159.5L222.5 158L224 158.5Q224.9 155.5 220.5 157L220.5 156L226 155.5L224 154.5L227 153.5L224 152.5L228 152Q226.9 149.3 229.5 150L229.5 149L228 148.5L231 147.5L230.5 146L232 145.5L228 144.5L234 143.5L232 142.5L235 141.5L232 140.5L236 140L237 137.5L232 136.5L238 136L238 134ZM220 174L220 224L246 224L250 222L254 214L254 185L252 180Q249 175 244 174L220 174ZM261 174L261 225L274 225L274 208L287 208L287 195L274 195L274 187L287 187L287 174L261 174Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.9960784"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.9960784"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M233 187L241 187L241 211L233 211L233 187Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.9960784"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.9960784"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M196.5 188L199 188L199 195L192 194.5L194 193.5L192 192.5L196 192Q194.9 189.3 197.5 190L197.5 189L196.5 188Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.9960784"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.9960784"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M144.5 228L149 228.5L144.5 229L144.5 228Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.9960784"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.9960784"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M146.5 230L149 230.5L149 283L243.5 283L243.5 284L238 284.5L241 285.5L238.5 288L232 288.5L237 289.5L232 290.5L234 291.5L228 292.5L232 293.5L228 294.5L228.5 296L220 296.5L226 297.5L145.5 298L137 292.5L134 286.5L134 238L137 237.5L134 236.5L140 236Q138.7 232.7 143.5 234L143.5 233L140 232.5L147 231.5L146.5 230Z"
+ android:fillColor="#060606"
+ android:fillAlpha="0.9960784"
+ android:strokeColor="#060606"
+ android:strokeAlpha="0.9960784"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M261.5 224L274 224.5L261.5 225L261.5 224Z"
+ android:fillColor="#030303"
+ android:fillAlpha="0.9764706"
+ android:strokeColor="#030303"
+ android:strokeAlpha="0.9764706"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M296.5 226L298 226.5L298 254.5L291.5 263L282.5 266L263.5 266L260 264.5L265 263.5L264.5 262L267 261.5L264 260.5L269 259.5L268.5 258L271 257.5L268 256.5L273 255.5L272.5 254L275 253.5L272 252.5L277 251.5L276.5 250L278 249.5L274 248.5L280 248Q278.9 245.3 281.5 246L281.5 245L280 244.5L284 243.5L282 242.5L285 241.5L280 240.5L287 239.5L286.5 238Q287.8 240.3 289 237.5L284 236.5L290 235.5L288 234.5L292 233.5L288 232.5L294 231.5L292 230.5L295 229.5L292 228.5L297 227.5L296.5 226Z"
+ android:fillColor="#030303"
+ android:fillAlpha="0.9764706"
+ android:strokeColor="#030303"
+ android:strokeAlpha="0.9764706"
+ android:strokeWidth="1" />
+ <path
+ android:pathData="M244.5 283L266 283L266 298L226.5 298L220 296.5L229 295.5L228.5 294L232 293.5L228 292.5L234 291.5L232 290.5L237 289.5L232 288.5L239 287.5L238.5 286Q239.7 288.3 241 285.5L238 284.5L244.5 283Z"
+ android:fillColor="#030303"
+ android:fillAlpha="0.9764706"
+ android:strokeColor="#030303"
+ android:strokeAlpha="0.9764706"
+ android:strokeWidth="1" />
+</vector>
diff --git a/app/src/main/res/drawable/ic_mupdf.xml b/app/src/main/res/drawable/ic_mupdf.xml
deleted file mode 100644
index c4acf55..0000000
--- a/app/src/main/res/drawable/ic_mupdf.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="48dp"
- android:height="48dp"
- android:viewportWidth="200.0"
- android:viewportHeight="200.0">
- <path
- android:fillColor="#ffffff"
- android:pathData="m 93.5,173.40625 c -1.138867,0.024 -2,0.88625 -2,2.09375 l 0,7.9375 c -1.7375,-0.15625 -3.47625,-0.34873 -5.21875,-0.59375 l 0,3.78125 c 1.7425,0.23625 3.48125,0.4425 5.21875,0.59375 l 0,13.96875 5,0 0,-13.65625 c 1.32375,0.0513 2.62625,0.0937 3.9375,0.0937 4.87,0 9.82625,-0.39125 14.78125,-1.09375 l 0,-3.78125 c -4.95625,0.72748 -9.91375,1.125 -14.78125,1.125 -1.31125,0 -2.61375,-0.0401 -3.9375,-0.0937 l 0,-7.375 c 0,-1.38 -1.12,-2.68499 -2.5,-2.9375 -0.1725,-0.0317 -0.337305,-0.0659 -0.5,-0.0625 z"
- />
- <path
- android:fillColor="#4386b5"
- android:pathData="m 173.54976,82.763143 c 0,-40.6225 -32.9275,-73.55125 -73.55,-73.55125 -40.62375,0 -73.55,32.92875 -73.55,73.55125 0,40.623747 32.92625,73.552497 73.55,73.552497 40.6225,0 73.55,-32.92875 73.55,-73.552497"
- />
- <path
- android:fillColor="#ffffff"
- android:pathData="m 88.07818,87.230068 l 0,51.621252 c -5.7675,-0.96875 -11.255,-2.595 -16.3575,-4.79 l 16.3575,-46.831252 z m 37.23375,-4.323749 c 0,-26.4925 3.8925,-31.53125 25.7075,-31.7 -0.4825,-0.72375 -1.00625,-1.4175 -1.51875,-2.11875 0.035,0.035 0.0725,0.0675 0.1075,0.1025 -0.1525,-0.210001 -0.31875,-0.4075 -0.47375,-0.615 -0.3625,-0.48625 -0.7325,-0.965001 -1.11,-1.440001 -0.44625,-0.5625 -0.905,-1.115 -1.37125,-1.661249 -0.34625,-0.406251 -0.69125,-0.81375 -1.04875,-1.21125 -0.5875,-0.652501 -1.195,-1.28625 -1.81,-1.91375 -0.26625,-0.27125 -0.5225,-0.55 -0.79375,-0.81625 -10.94125,-10.761251 -25.9375,-17.41 -42.4975,-17.41 -20.2,0 -38.07875,9.88125 -49.10375,25.06625 11.8,-11.94375 29.4125,-19.5325 49.10375,-19.5325 13.19,0 25.43625,3.4175 35.6375,9.256249 l -60.115,0 -26.89125,78.106252 c 0.7925,1.26375 1.6475,2.4525 2.53,3.605 -0.0863,-0.0863 -0.17875,-0.1675 -0.265,-0.255 11.025,15.18625 28.90375,25.06625 49.10375,25.06625 20.20125,0 38.08125,-9.88125 49.105,-25.0675 -6.52875,6.6075 -14.84125,11.87375 -24.29625,15.26875 l 0,-52.730001 z"
- />
- <path
- android:fillColor="#231f20"
- android:pathData="m 100.44518,187.61282 c -1.31125,0 -2.63125,-0.035 -3.955,-0.0863 l 0,69.71001 c 0,1.38 -1.12,2.29375 -2.5,2.04125 -1.38125,-0.25375 -2.5,-1.57875 -2.5,-2.95875 l 0,-69.0975 c -1.7375,-0.15125 -3.47875,-0.35626 -5.22125,-0.59251 l 0,75.31875 c 0,0 4.82625,3.11626 14.235,3.11626 9.40875,0 14.72375,-3.20501 14.72375,-3.20501 l 0,-75.31875 c -4.955,0.7025 -9.9125,1.0725 -14.7825,1.0725 m -8.95512,-4.162 0,-7.95125 c 0,-1.38 1.12,-2.295 2.5,-2.04125 1.38,0.25251 2.5,1.57875 2.5,2.95875 l 0,7.35875 c 1.32375,0.0537 2.64375,0.0875 3.955,0.0875 4.8675,0 9.82625,-0.38877 14.7825,-1.11625 l 0,-15.41625 c -4.7825,0.84748 -9.6975,1.315 -14.72375,1.315 -4.855,0 -9.60625,-0.43627 -14.235,-1.22752 l 0,15.42 c 1.7425,0.24502 3.48375,0.45627 5.22125,0.61252 M 170.64938,82.763193 c 0,36.492497 -31.62875,66.071247 -70.65,66.071247 -39.02,0 -70.64875,-29.57875 -70.64875,-66.071247 0,-36.4925 31.62875,-66.07125 70.64875,-66.07125 39.02125,0 70.65,29.57875 70.65,66.07125 m -147.97125,0 c 0,42.707497 34.61625,77.321247 77.32125,77.321247 42.70625,0 77.3225,-34.61375 77.3225,-77.321247 0,-42.705 -34.61625,-77.31875 -77.3225,-77.31875 -42.705,0 -77.32125,34.61375 -77.32125,77.31875"
- />
-</vector>
diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 0000000..ad824a2
--- /dev/null
+++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+ <background android:drawable="@android:color/system_accent1_100"/>
+ <foreground android:drawable="@drawable/ic_foreground"/>
+ <monochrome android:drawable="@drawable/ic_foreground"/>
+</adaptive-icon>