From aeee62e5877ef44ed679a3ed2c736bc911e8634c Mon Sep 17 00:00:00 2001
From: goapunk <goapunk@riseup.net>
Date: Wed, 5 Sep 2018 20:08:00 +0200
Subject: [PATCH] update splash and navheader

---
 .../res/drawable/navigation_drawer_header.xml | 64 ++++++++++++
 .../src/main/res/drawable/splash_screen.xml   | 98 ++++++-------------
 2 files changed, 92 insertions(+), 70 deletions(-)
 create mode 100644 mailbox-android/src/main/res/drawable/navigation_drawer_header.xml

diff --git a/mailbox-android/src/main/res/drawable/navigation_drawer_header.xml b/mailbox-android/src/main/res/drawable/navigation_drawer_header.xml
new file mode 100644
index 000000000..1693c4eef
--- /dev/null
+++ b/mailbox-android/src/main/res/drawable/navigation_drawer_header.xml
@@ -0,0 +1,64 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+    android:width="146dp"
+    android:height="50dp"
+    android:viewportWidth="146"
+    android:viewportHeight="50">
+  <path
+      android:pathData="m73.15,32.275h-1.885l-5.003,9.408 -0.728,1.792h-0.037l-0.747,-1.792 -4.984,-9.408h-1.923v15.12h2.24L60.084,37.184h0.037l0.784,1.923 4.555,8.493h0.056l4.536,-8.437 0.821,-1.997h0.037v10.229h2.24z"
+      android:fillColor="#ffffff"
+      android:strokeColor="#00000000"
+      android:fillAlpha="1"/>
+  <path
+      android:pathData="m84.5,42.131v1.755c0,1.512 -2.501,1.755 -3.603,1.755 -1.176,0 -2.875,-0.355 -2.875,-1.755 0,-0.896 0.709,-1.419 1.829,-1.699 0.616,-0.149 1.325,-0.243 1.997,-0.28 0.672,-0.037 1.325,-0.037 1.867,-0.037 0.28,0 0.803,0.037 1.008,0.037zM86.684,39.816c0,-3.36 -2.632,-4.349 -5.189,-4.349 -1.829,0 -3.416,0.373 -5.003,1.605l1.437,1.475c1.027,-0.859 2.371,-1.12 3.565,-1.12 1.624,0 2.875,0.579 2.987,2.147 0.019,0.019 0,0.187 0.019,0.224l0.224,0.224c-0.224,-0.019 -0.803,-0.037 -1.101,-0.037 -2.968,0 -7.765,0.224 -7.765,3.901 0,2.819 2.651,3.715 5.04,3.715 1.269,0 2.557,-0.299 3.565,-1.101h0.037v0.896h2.184z"
+      android:fillColor="#ffffff"
+      android:strokeColor="#00000000"
+      android:fillAlpha="1"/>
+  <path
+      android:pathData="m92.147,35.635h-2.184v11.76h2.184zM92.371,32.984c0,-0.803 -0.485,-1.381 -1.307,-1.381 -0.803,0 -1.307,0.579 -1.307,1.381 0,0.803 0.485,1.381 1.307,1.381 0.803,0 1.307,-0.579 1.307,-1.381z"
+      android:fillColor="#ffffff"
+      android:strokeColor="#00000000"
+      android:fillAlpha="1"/>
+  <path
+      android:pathData="m97.689,31.715h-2.184v15.68h2.184z"
+      android:fillColor="#ffffff"
+      android:strokeColor="#00000000"
+      android:fillAlpha="1"/>
+  <path
+      android:pathData="m110.212,41.552c0,2.352 -0.971,4.069 -3.565,4.069 -2.557,0 -3.565,-1.717 -3.565,-4.069 0,-2.371 0.971,-4.125 3.565,-4.125 2.576,0 3.565,1.773 3.565,4.125zM112.396,41.552c0,-3.509 -1.811,-6.104 -5.581,-6.104 -1.475,0 -2.725,0.523 -3.547,1.437h-0.037v-5.171h-2.184v15.68h2.184v-1.157h0.037c0.803,0.877 2.035,1.344 3.547,1.344 3.733,0 5.581,-2.539 5.581,-6.029z"
+      android:fillColor="#ffffff"
+      android:strokeColor="#00000000"
+      android:fillAlpha="1"/>
+  <path
+      android:pathData="m123.856,41.515c0,2.333 -1.064,4.107 -3.603,4.107 -2.52,0 -3.603,-1.792 -3.603,-4.107 0,-2.352 1.064,-4.107 3.603,-4.107 2.52,0 3.603,1.773 3.603,4.107zM126.04,41.515c0,-3.509 -1.923,-6.067 -5.805,-6.067 -3.845,0 -5.768,2.595 -5.768,6.067 0,3.472 1.904,6.067 5.787,6.067 3.827,0 5.787,-2.613 5.787,-6.067z"
+      android:fillColor="#ffffff"
+      android:strokeColor="#00000000"
+      android:fillAlpha="1"/>
+  <path
+      android:pathData="m134.542,41.496 l4.387,-5.861h-2.688l-2.352,3.155 -0.653,1.101h-0.037l-0.672,-1.101 -2.315,-3.155h-2.725l4.387,5.861 -4.424,5.899h2.707l2.427,-3.267 0.597,-1.045h0.037l0.616,1.045 2.408,3.267h2.725z"
+      android:fillColor="#ffffff"
+      android:strokeColor="#00000000"
+      android:fillAlpha="1"/>
+  <path
+      android:pathData="m15.641,22.628c-0.571,0 -1.042,0.471 -1.042,1.041l0,1.324l2.566,0l0,-1.324c0,-0.571 -0.465,-1.041 -1.036,-1.041zM21.348,22.628c-0.571,0 -1.042,0.471 -1.042,1.041l0,7.032l2.566,0l0,-7.032c0,-0.571 -0.465,-1.041 -1.036,-1.041zM14.599,28.383l0,7.032c0,0.571 0.465,1.041 1.042,1.041l0.488,0c0.571,0 1.042,-0.471 1.042,-1.041L17.171,28.383ZM20.307,34.09l0,1.324c0,0.571 0.471,1.041 1.042,1.041l0.488,0c0.571,0 1.042,-0.471 1.042,-1.041l0,-1.324z"
+      android:strokeWidth="0.29227427"
+      android:fillColor="#87c214"/>
+  <path
+      android:pathData="m12.863,25.405c-0.571,0 -1.041,0.465 -1.041,1.042l0,0.488c0,0.571 0.465,1.042 1.041,1.042l7.032,0l0,-2.571zM23.284,25.405l0,2.571l1.324,0c0.571,0 1.041,-0.465 1.041,-1.042l0,-0.488c0,-0.577 -0.471,-1.042 -1.041,-1.042zM12.863,31.113c-0.571,0 -1.041,0.465 -1.041,1.042l0,0.488c0,0.571 0.465,1.042 1.041,1.042l1.324,0l0,-2.571zM17.577,31.113l0,2.571l7.032,0c0.571,0 1.041,-0.471 1.041,-1.042l0,-0.488c0,-0.577 -0.471,-1.042 -1.041,-1.042z"
+      android:strokeWidth="0.29227427"
+      android:fillColor="#95d220"/>
+  <path
+      android:strokeWidth="1"
+      android:pathData="m30.54,24.999c0,-6.662 -5.4,-12.062 -12.062,-12.062 -6.662,0 -12.06,5.381 -12.061,12.052l0.038,19.029c0.021,0.376 0.214,0.602 0.508,0.602l39.559,0.044c1.285,0.003 2.231,0.979 2.231,2.187 0,1.209 -0.98,2.189 -2.219,2.189l-39.952,-0.088c-2.288,0.004 -3.989,-1.832 -4.001,-4.151L2.595,25.061C2.596,16.239 11.09,9.207 18.592,9.227 26.114,9.248 34.544,16.371 34.544,25.17 34.826,17.108 26.815,9.495 18.599,9.221 18.607,9.214 37.379,0.657 37.379,0.657l0.475,40.316c-0.008,2.066 -1.632,3.75 -3.622,3.75 -1.99,0 -3.601,-1.545 -3.596,-3.571l-0.097,-16.153"
+      android:fillColor="#800000"
+      android:strokeColor="#000000"/>
+  <path
+      android:strokeWidth="1"
+      android:pathData="m34.259,5.205 l-0.019,8.031 -7.21,-4.721 3.615,-1.655z"
+      android:fillColor="#f2f2f2"
+      android:strokeColor="#000000"/>
+  <path
+      android:strokeWidth="1"
+      android:pathData="m30.54,24.999c0,-6.662 -5.4,-12.062 -12.062,-12.062 -6.662,0 -12.06,5.381 -12.061,12.052l0.038,19.029c0.021,0.376 0.214,0.602 0.508,0.602l39.559,0.044c1.285,0.003 2.231,0.979 2.231,2.187 0,1.209 -0.98,2.189 -2.219,2.189l-39.952,-0.088c-2.288,0.004 -3.989,-1.832 -4.001,-4.151l0.012,-19.74C2.596,16.239 11.09,9.207 18.592,9.227 26.114,9.248 34.544,16.371 34.544,25.17 34.763,17.013 26.815,9.495 18.6,9.221c5.108,0.255 15.378,4.14 15.944,15.948 0.026,1.589 0.531,14.72 0.048,19.472l-0.831,0.015c-1.989,-0.05 -3.129,-1.478 -3.123,-3.504l-0.097,-16.153"
+      android:fillColor="#ececec"
+      android:strokeColor="#000000"/>
+</vector>
diff --git a/mailbox-android/src/main/res/drawable/splash_screen.xml b/mailbox-android/src/main/res/drawable/splash_screen.xml
index a8c8a1c36..686fe811c 100644
--- a/mailbox-android/src/main/res/drawable/splash_screen.xml
+++ b/mailbox-android/src/main/res/drawable/splash_screen.xml
@@ -1,71 +1,29 @@
-<?xml version="1.0" encoding="utf-8"?>
 <vector xmlns:android="http://schemas.android.com/apk/res/android"
-        android:width="235dp"
-        android:height="310dp"
-        android:viewportHeight="310"
-        android:viewportWidth="235">
-
-	<path
-		android:fillColor="#87c214"
-		android:pathData="M47.2,47.2 L90.9,47.2 L90.9,90.9 L47.2,90.9 L47.2,47.2 Z"/>
-	<path
-		android:fillColor="#87c214"
-		android:pathData="M64.9004,0 C55.2004,0,47.1992,7.99922,47.1992,17.6992 L47.1992,40.1992
-L90.8008,40.1992 L90.8008,17.6992
-C90.8008,7.99922,82.8992,0,73.1992,0 L64.9004,0 Z M161.9,0
-C152.2,0,144.199,7.99922,144.199,17.6992 L144.199,137.199 L187.801,137.199
-L187.801,17.6992 C187.801,7.99922,179.899,0,170.199,0 L161.9,0 Z
-M47.1992,97.8008 L47.1992,217.301 C47.1992,227.001,55.1004,235,64.9004,235
-L73.1992,235 C82.8992,235,90.9004,227.001,90.9004,217.301 L90.9004,97.8008
-L47.1992,97.8008 Z M144.199,194.801 L144.199,217.301
-C144.199,227.001,152.2,235,161.9,235 L170.199,235
-C179.899,235,187.9,227.001,187.9,217.301 L187.9,194.801 L144.199,194.801 Z"/>
-	<path
-		android:fillColor="#87c214"
-		android:pathData="M144.2,144.2 L187.9,144.2 L187.9,187.9 L144.2,187.9 L144.2,144.2 Z"/>
-	<path
-		android:fillColor="#95d220"
-		android:pathData="M17.6992,47.1992 C7.99922,47.1992,0,55.1004,0,64.9004 L0,73.1992
-C0,82.8992,7.89922,90.9004,17.6992,90.9004 L137.199,90.9004 L137.199,47.1992
-L17.6992,47.1992 Z M194.801,47.1992 L194.801,90.9004 L217.301,90.9004
-C227.001,90.9004,235,82.9992,235,73.1992 L235,64.9004
-C235,55.1004,227.001,47.1992,217.301,47.1992 L194.801,47.1992 Z M17.6992,144.199
-C7.99922,144.199,0,152.1,0,161.9 L0,170.199
-C0,179.899,7.89922,187.9,17.6992,187.9 L40.1992,187.9 L40.1992,144.199
-L17.6992,144.199 Z M97.8008,144.199 L97.8008,187.9 L217.301,187.9
-C227.001,187.9,235,179.899,235,170.199 L235,161.9
-C235,152.1,227.001,144.199,217.301,144.199 L97.8008,144.199 Z"/>
-	<path
-		android:fillColor="#000000"
-		android:pathData="M0,253.9 L0,310 L26.2656,310 C38.6498,310,45.1426,303.8,45.1426,294.1
-C45.1426,287.8,42.2457,283.1,36.4531,280.5 L36.4531,280.4
-C40.8475,277.7,42.7461,274.3,42.7461,269 C42.7461,261,37.2532,253.9,25.668,253.9
-L0,253.9 Z M54.5313,253.9 L54.5313,310 L61.1211,310 L61.1211,287.5
-L60.4238,286.801 L73.7051,286.801
-C81.0956,286.801,85.2917,289.399,87.9883,295.199 L94.9785,310 L102.369,310
-L94.0801,292.5 C92.2824,288.6,89.3857,286.1,86.7891,285 L86.7891,284.9
-C92.8813,283.3,97.9746,277.8,97.9746,270.5
-C97.9746,259.4,89.3865,253.9,79.0996,253.9 L54.5313,253.9 Z M109.26,253.9
-L109.26,310 L115.852,310 L115.852,253.9 L109.26,253.9 Z M148.012,253.9
-L123.342,310 L130.533,310 L136.525,296.5 L136.227,295.801 L166.887,295.801
-L166.588,296.5 L172.58,310 L179.771,310 L155.002,253.9 L148.012,253.9 Z
-M187.16,253.9 L187.16,310 L193.752,310 L193.752,287.5 L193.053,286.801
-L206.336,286.801 C213.727,286.801,217.923,289.399,220.619,295.199 L227.609,310
-L235,310 L226.711,292.5 C224.913,288.6,222.017,286.1,219.42,285 L219.42,284.9
-C225.512,283.3,230.605,277.8,230.605,270.5
-C230.605,259.4,222.017,253.9,211.73,253.9 L187.16,253.9 Z M5.89258,260.1
-L24.9688,260.1 C32.1596,260.1,35.9531,263,35.9531,269
-C35.9531,274,32.9585,278,24.9688,278 L5.89258,278 L6.5918,277.301
-L6.5918,260.801 L5.89258,260.1 Z M60.4238,260.1 L79.0996,260.1
-C85.8909,260.1,91.0837,262.9,91.1836,270.4
-C91.1836,276.4,86.4901,280.6,78.4004,280.6 L60.4238,280.6 L61.1211,279.9
-L61.1211,260.801 L60.4238,260.1 Z M192.953,260.1 L211.629,260.1
-C218.52,260.1,223.715,262.9,223.715,270.4
-C223.715,276.4,219.021,280.6,210.932,280.6 L192.953,280.6 L193.652,279.9
-L193.652,260.801 L192.953,260.1 Z M151.605,260.801 L151.707,260.801
-L153.404,266.4 L163.291,288.9 L163.99,289.6 L139.322,289.6 L140.021,288.9
-L149.908,266.4 L151.605,260.801 Z M5.89258,284.199 L26.2656,284.199
-C34.555,284.199,38.3516,288,38.3516,294.1
-C38.3516,300.3,34.8547,303.801,26.2656,303.801 L5.89258,303.801 L6.5918,303.1
-L6.5918,284.9 L5.89258,284.199 Z"/>
-</vector>
\ No newline at end of file
+    android:width="235dp"
+    android:height="310dp"
+    android:viewportWidth="235"
+    android:viewportHeight="310">
+  <path
+      android:pathData="m67.693,144.012c-2.835,0 -5.174,2.338 -5.174,5.173v6.576h12.744v-6.576c0,-2.835 -2.309,-5.173 -5.144,-5.173zM96.043,144.012c-2.835,0 -5.174,2.338 -5.174,5.173v34.927h12.744v-34.927c0,-2.835 -2.309,-5.173 -5.144,-5.173zM62.519,172.596v34.927c0,2.835 2.309,5.173 5.174,5.173h2.426c2.835,0 5.174,-2.338 5.174,-5.173L75.292,172.596ZM90.87,200.947v6.576c0,2.835 2.339,5.173 5.174,5.173h2.426c2.835,0 5.174,-2.338 5.174,-5.173v-6.576z"
+      android:strokeWidth="0.29227427"
+      android:fillColor="#87c214"/>
+  <path
+      android:pathData="m53.897,157.807c-2.835,0 -5.173,2.309 -5.173,5.174v2.426c0,2.835 2.309,5.174 5.173,5.174h34.927v-12.773zM105.659,157.807v12.773h6.576c2.835,0 5.173,-2.309 5.173,-5.174v-2.426c0,-2.864 -2.338,-5.174 -5.173,-5.174zM53.897,186.157c-2.835,0 -5.173,2.309 -5.173,5.174v2.425c0,2.835 2.309,5.174 5.173,5.174h6.576v-12.773zM77.309,186.157v12.773h34.927c2.835,0 5.173,-2.339 5.173,-5.174v-2.425c0,-2.864 -2.338,-5.174 -5.173,-5.174z"
+      android:strokeWidth="0.29227427"
+      android:fillColor="#95d220"/>
+  <path
+      android:strokeWidth="1"
+      android:pathData="m141.701,155.791c0,-33.089 -26.824,-59.913 -59.913,-59.913 -33.089,0 -59.904,26.728 -59.908,59.865l0.19,94.52c0.105,1.868 1.063,2.988 2.525,2.988l196.494,0.216c6.382,0.014 11.08,4.861 11.08,10.865 0,6.004 -4.867,10.872 -11.02,10.872l-198.446,-0.436c-11.366,0.019 -19.814,-9.1 -19.871,-20.617L2.893,156.099C2.898,112.276 45.086,77.346 82.351,77.448 119.716,77.55 161.586,112.933 161.586,156.636 162.988,116.595 123.195,78.779 82.389,77.42 82.427,77.381 175.67,34.88 175.67,34.88l2.361,200.258c-0.041,10.261 -8.107,18.625 -17.99,18.625 -9.883,0 -17.887,-7.677 -17.86,-17.735l-0.481,-80.236"
+      android:fillColor="#800000"
+      android:strokeColor="#000000"/>
+  <path
+      android:strokeWidth="1"
+      android:pathData="m160.17,57.469 l-0.094,39.889 -35.814,-23.451 17.954,-8.219z"
+      android:fillColor="#f2f2f2"
+      android:strokeColor="#000000"/>
+  <path
+      android:strokeWidth="1"
+      android:pathData="m141.701,155.791c0,-33.089 -26.824,-59.913 -59.913,-59.913 -33.089,0 -59.904,26.728 -59.908,59.865l0.19,94.52c0.105,1.868 1.063,2.988 2.525,2.988l196.494,0.216c6.382,0.014 11.08,4.861 11.08,10.865 0,6.004 -4.867,10.872 -11.02,10.872l-198.446,-0.436c-11.366,0.019 -19.814,-9.1 -19.871,-20.617l0.062,-98.053C2.898,112.276 45.086,77.346 82.351,77.448 119.716,77.55 161.587,112.933 161.587,156.636 162.673,116.124 123.195,78.779 82.389,77.42c25.375,1.268 76.387,20.564 79.198,79.217 0.131,7.891 2.636,73.119 0.239,96.718l-4.129,0.075c-9.88,-0.247 -15.542,-7.344 -15.515,-17.402l-0.481,-80.236"
+      android:fillColor="#ececec"
+      android:strokeColor="#000000"/>
+</vector>
-- 
GitLab