Noah Vogt 4 жил өмнө
parent
commit
70eb9870d7

+ 4 - 0
app/src/main/res/drawable/mail_write_icon.xml

@@ -0,0 +1,4 @@
+<vector android:height="468dp" android:viewportHeight="468.203"
+    android:viewportWidth="468.203" android:width="468dp" xmlns:android="http://schemas.android.com/apk/res/android">
+    <path android:fillColor="#FF000000" android:pathData="M439.618,175.913h-2.86l-46.092,-40.116l-25.694,25.691l33.289,28.957l-28.152,22.008l-136.007,99.741l-136.01,-99.747l-27.388,-20.575l32.799,-28.75v-48.941l-70.917,61.738h-4.001c-2.518,0 -4.563,2.045 -4.563,4.569v283.152c0,2.518 2.045,4.562 4.563,4.562h411.034c2.519,0 4.563,-2.045 4.563,-4.562V180.482C444.176,177.958 442.137,175.913 439.618,175.913zM407.642,431.663H60.556v-201.43l170.848,125.287c1.613,1.183 3.789,1.183 5.405,0l170.845,-125.287v201.43H407.642zM207.119,72.292h-55.502L234.663,0l83.052,72.297h-55.289l-27.763,-24.151L207.119,72.292zM130.71,218.639l-18.364,-15.356V81.589h229.521v5.87c-5.361,3.638 -11.39,8.292 -18.358,14.375v-1.882H130.71V218.639zM360.615,104.34l2.087,-2.093c4.078,-4.081 10.077,-5.042 15.09,-2.932l7.519,-7.521l11.36,11.36l-7.412,7.415c2.388,5.096 1.525,11.343 -2.695,15.555L274.59,238.104c-3.203,3.209 -7.601,4.45 -11.769,3.836c-13.045,9.174 -22.951,13.382 -26.137,10.189c-3.184,-3.18 1.022,-13.086 10.195,-26.131c-0.626,-4.164 0.627,-8.564 3.837,-11.766L350,114.938c-7.72,3.686 -22.308,13.837 -48.593,41.027c-1.714,1.631 -4.664,1.868 -6.49,0.106c-1.826,-1.761 -1.873,-4.666 -0.112,-6.487C338.415,104.496 353.333,101.884 360.615,104.34z"/>
+</vector>

+ 30 - 0
app/src/main/res/layout/content_main.xml

@@ -17,4 +17,34 @@
         app:layout_constraintRight_toRightOf="parent"
         app:layout_constraintTop_toTopOf="parent"
         app:navGraph="@navigation/mobile_navigation" />
+
+    <LinearLayout
+        android:id="@+id/container"
+        android:layout_width="96dp"
+        android:layout_height="96dp"
+
+        android:layout_marginEnd="16dp"
+        android:layout_marginRight="16dp"
+        android:layout_marginBottom="16dp"
+
+        app:layout_constraintBottom_toBottomOf="parent"
+        app:layout_constraintEnd_toEndOf="parent">
+
+        <ImageButton
+            android:id="@+id/imageButton2"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+
+            android:paddingLeft="18dp"
+            android:paddingRight="18dp"
+            android:paddingTop="18dp"
+            android:paddingBottom="18dp"
+            android:scaleType="fitXY"
+
+            app:layout_constraintBottom_toBottomOf="parent"
+            app:layout_constraintEnd_toEndOf="parent"
+            app:srcCompat="@drawable/mail_write_icon"
+            tools:ignore="VectorDrawableCompat" />
+    </LinearLayout>
+
 </androidx.constraintlayout.widget.ConstraintLayout>

+ 50 - 0
media/mail-write.svg

@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+	 width="468.203px" height="468.203px" viewBox="0 0 468.203 468.203" style="enable-background:new 0 0 468.203 468.203;"
+	 xml:space="preserve">
+<g>
+	<path d="M439.618,175.913h-2.86l-46.092-40.116l-25.694,25.691l33.289,28.957l-28.152,22.008l-136.007,99.741l-136.01-99.747
+		l-27.388-20.575l32.799-28.75v-48.941l-70.917,61.738h-4.001c-2.518,0-4.563,2.045-4.563,4.569v283.152
+		c0,2.518,2.045,4.562,4.563,4.562h411.034c2.519,0,4.563-2.045,4.563-4.562V180.482
+		C444.176,177.958,442.137,175.913,439.618,175.913z M407.642,431.663H60.556v-201.43l170.848,125.287
+		c1.613,1.183,3.789,1.183,5.405,0l170.845-125.287v201.43H407.642z M207.119,72.292h-55.502L234.663,0l83.052,72.297h-55.289
+		l-27.763-24.151L207.119,72.292z M130.71,218.639l-18.364-15.356V81.589h229.521v5.87c-5.361,3.638-11.39,8.292-18.358,14.375
+		v-1.882H130.71V218.639z M360.615,104.34l2.087-2.093c4.078-4.081,10.077-5.042,15.09-2.932l7.519-7.521l11.36,11.36l-7.412,7.415
+		c2.388,5.096,1.525,11.343-2.695,15.555L274.59,238.104c-3.203,3.209-7.601,4.45-11.769,3.836
+		c-13.045,9.174-22.951,13.382-26.137,10.189c-3.184-3.18,1.022-13.086,10.195-26.131c-0.626-4.164,0.627-8.564,3.837-11.766
+		L350,114.938c-7.72,3.686-22.308,13.837-48.593,41.027c-1.714,1.631-4.664,1.868-6.49,0.106c-1.826-1.761-1.873-4.666-0.112-6.487
+		C338.415,104.496,353.333,101.884,360.615,104.34z"/>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+<g>
+</g>
+</svg>

BIN
media/mail-write32.png


BIN
media/mail-write64.png