Added icons for navigation

This commit is contained in:
Viktor De Pasquale 2019-10-04 18:25:06 +02:00
parent f4ecc315d0
commit dc62ae95a6
7 changed files with 44 additions and 5 deletions

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="?colorOnSurface"
android:pathData="M20,8H17.19C16.74,7.2 16.12,6.5 15.37,6L17,4.41L15.59,3L13.42,5.17C12.96,5.06 12.5,5 12,5C11.5,5 11.05,5.06 10.59,5.17L8.41,3L7,4.41L8.62,6C7.87,6.5 7.26,7.21 6.81,8H4V10H6.09C6.03,10.33 6,10.66 6,11V12H4V14H6V15C6,15.34 6.03,15.67 6.09,16H4V18H6.81C8.47,20.87 12.14,21.84 15,20.18C15.91,19.66 16.67,18.9 17.19,18H20V16H17.91C17.97,15.67 18,15.34 18,15V14H20V12H18V11C18,10.66 17.97,10.33 17.91,10H20V8M16,15A4,4 0 0,1 12,19A4,4 0 0,1 8,15V11A4,4 0 0,1 12,7A4,4 0 0,1 16,11V15M14,10V12H10V10H14M10,14H14V16H10V14Z" />
</vector>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="?colorOnSurface"
android:pathData="M22,13.5C22,15.26 20.7,16.72 19,16.96V20A2,2 0 0,1 17,22H13.2V21.7A2.7,2.7 0 0,0 10.5,19C9,19 7.8,20.21 7.8,21.7V22H4A2,2 0 0,1 2,20V16.2H2.3C3.79,16.2 5,15 5,13.5C5,12 3.79,10.8 2.3,10.8H2V7A2,2 0 0,1 4,5H7.04C7.28,3.3 8.74,2 10.5,2C12.26,2 13.72,3.3 13.96,5H17A2,2 0 0,1 19,7V10.04C20.7,10.28 22,11.74 22,13.5M17,15H18.5A1.5,1.5 0 0,0 20,13.5A1.5,1.5 0 0,0 18.5,12H17V7H12V5.5A1.5,1.5 0 0,0 10.5,4A1.5,1.5 0 0,0 9,5.5V7H4V9.12C5.76,9.8 7,11.5 7,13.5C7,15.5 5.75,17.2 4,17.88V20H6.12C6.8,18.25 8.5,17 10.5,17C12.5,17 14.2,18.25 14.88,20H17V15Z" />
</vector>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="?colorOnSurface"
android:pathData="M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10M10,22C9.75,22 9.54,21.82 9.5,21.58L9.13,18.93C8.5,18.68 7.96,18.34 7.44,17.94L4.95,18.95C4.73,19.03 4.46,18.95 4.34,18.73L2.34,15.27C2.21,15.05 2.27,14.78 2.46,14.63L4.57,12.97L4.5,12L4.57,11L2.46,9.37C2.27,9.22 2.21,8.95 2.34,8.73L4.34,5.27C4.46,5.05 4.73,4.96 4.95,5.05L7.44,6.05C7.96,5.66 8.5,5.32 9.13,5.07L9.5,2.42C9.54,2.18 9.75,2 10,2H14C14.25,2 14.46,2.18 14.5,2.42L14.87,5.07C15.5,5.32 16.04,5.66 16.56,6.05L19.05,5.05C19.27,4.96 19.54,5.05 19.66,5.27L21.66,8.73C21.79,8.95 21.73,9.22 21.54,9.37L19.43,11L19.5,12L19.43,13L21.54,14.63C21.73,14.78 21.79,15.05 21.66,15.27L19.66,18.73C19.54,18.95 19.27,19.04 19.05,18.95L16.56,17.95C16.04,18.34 15.5,18.68 14.87,18.93L14.5,21.58C14.46,21.82 14.25,22 14,22H10M11.25,4L10.88,6.61C9.68,6.86 8.62,7.5 7.85,8.39L5.44,7.35L4.69,8.65L6.8,10.2C6.4,11.37 6.4,12.64 6.8,13.8L4.68,15.36L5.43,16.66L7.86,15.62C8.63,16.5 9.68,17.14 10.87,17.38L11.24,20H12.76L13.13,17.39C14.32,17.14 15.37,16.5 16.14,15.62L18.57,16.66L19.32,15.36L17.2,13.81C17.6,12.64 17.6,11.37 17.2,10.2L19.31,8.65L18.56,7.35L16.15,8.39C15.38,7.5 14.32,6.86 13.12,6.62L12.75,4H11.25Z" />
</vector>

View File

@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="?colorOnSurface"
android:pathData="M18.6,3l-0.7,4h4l-0.3,2h-4l-1.1,6h4l-0.3,2h-4l-0.7,4h-2l0.7,-4h-6l-0.7,4h-2l0.7,-4h-4l0.4,-2h4l1.1,-6h-4l0.4,-2h4l0.7,-4h2L9.9,7h6l0.7,-4H18.6M15.5,9h-6l-1.1,6h6L15.5,9M18.6,1.5h-2c-0.7,0 -1.3,0.5 -1.5,1.2l-0.5,2.8h-3l0.4,-2.2c0.1,-0.4 0,-0.9 -0.3,-1.2c-0.3,-0.3 -0.7,-0.5 -1.1,-0.5h-2C7.9,1.5 7.2,2 7.1,2.7L6.6,5.5H3.9C3.2,5.5 2.5,6 2.4,6.7l-0.4,2C2,9.2 2.1,9.6 2.4,10c0.3,0.3 0.7,0.5 1.1,0.5h2.2l-0.5,3H2.5c-0.7,0 -1.4,0.5 -1.5,1.2l-0.4,2c-0.1,0.4 0,0.9 0.3,1.2c0.3,0.3 0.7,0.5 1.1,0.5h2.2l-0.4,2.2c-0.1,0.4 0,0.9 0.3,1.2c0.3,0.3 0.7,0.5 1.1,0.5h2c0.7,0 1.3,-0.5 1.5,-1.2l0.5,-2.8h3l-0.4,2.2c-0.1,0.4 0,0.9 0.3,1.2c0.3,0.3 0.7,0.5 1.1,0.5h2c0.7,0 1.3,-0.5 1.5,-1.2l0.5,-2.8h2.7c0.7,0 1.4,-0.5 1.5,-1.2l0.4,-2c0.1,-0.4 0,-0.9 -0.3,-1.2c-0.3,-0.3 -0.7,-0.5 -1.1,-0.5h-2.2l0.5,-3h2.7c0.7,0 1.4,-0.5 1.5,-1.2l0.4,-2c0.1,-0.4 0,-0.9 -0.3,-1.2c-0.3,-0.3 -0.7,-0.5 -1.1,-0.5h-2.2l0.4,-2.2c0.1,-0.4 0,-0.9 -0.3,-1.2C19.5,1.7 19,1.5 18.6,1.5L18.6,1.5zM10.8,10.5h3l-0.5,3h-3L10.8,10.5L10.8,10.5z" />
</vector>

View File

@ -83,7 +83,7 @@
android:layout_height="wrap_content"
app:fabSize="normal"
app:layout_anchor="@+id/main_bottom_bar"
app:srcCompat="@drawable/ic_superuser" />
app:srcCompat="@drawable/ic_superuser_md2" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -4,13 +4,13 @@
<item
android:id="@+id/homeFragment"
android:icon="@drawable/ic_home"
android:icon="@drawable/ic_home_md2"
android:title="Home"
tools:showAsAction="always" />
<item
android:id="@+id/modulesFragment"
android:icon="@drawable/ic_cloud_download"
android:icon="@drawable/ic_module_md2"
android:title="@string/modules"
tools:showAsAction="always" />
@ -22,13 +22,13 @@
<item
android:id="@+id/logFragment"
android:icon="@drawable/ic_bug_report"
android:icon="@drawable/ic_bug_md2"
android:title="@string/log"
tools:showAsAction="always" />
<item
android:id="@+id/settingsFragment"
android:icon="@drawable/ic_settings"
android:icon="@drawable/ic_settings_md2"
android:title="@string/settings"
tools:showAsAction="always" />