Add new files for Fitbot app: MainScreen.java, main_menu.xml, toolbar.xml, header.xml, ic_baseline_home_48.xml, ic_baseline_star_rate_48.xml, ic_baseline_settings_48.xml

This commit is contained in:
SebasKoedam
2024-04-25 20:32:14 +02:00
parent 0805990af5
commit daddd73dfb
13 changed files with 198 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
package com.example.fitbot;public class MainScreen {
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 811 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,5 @@
<vector android:height="48dp" android:tint="?attr/colorControlNormal"
android:viewportHeight="24" android:viewportWidth="24"
android:width="48dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M10,20v-6h4v6h5v-8h3L12,3 2,12h3v8z"/>
</vector>

View File

@@ -0,0 +1,5 @@
<vector android:height="48dp" android:tint="?attr/colorControlNormal"
android:viewportHeight="24" android:viewportWidth="24"
android:width="48dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M19.14,12.94c0.04,-0.3 0.06,-0.61 0.06,-0.94c0,-0.32 -0.02,-0.64 -0.07,-0.94l2.03,-1.58c0.18,-0.14 0.23,-0.41 0.12,-0.61l-1.92,-3.32c-0.12,-0.22 -0.37,-0.29 -0.59,-0.22l-2.39,0.96c-0.5,-0.38 -1.03,-0.7 -1.62,-0.94L14.4,2.81c-0.04,-0.24 -0.24,-0.41 -0.48,-0.41h-3.84c-0.24,0 -0.43,0.17 -0.47,0.41L9.25,5.35C8.66,5.59 8.12,5.92 7.63,6.29L5.24,5.33c-0.22,-0.08 -0.47,0 -0.59,0.22L2.74,8.87C2.62,9.08 2.66,9.34 2.86,9.48l2.03,1.58C4.84,11.36 4.8,11.69 4.8,12s0.02,0.64 0.07,0.94l-2.03,1.58c-0.18,0.14 -0.23,0.41 -0.12,0.61l1.92,3.32c0.12,0.22 0.37,0.29 0.59,0.22l2.39,-0.96c0.5,0.38 1.03,0.7 1.62,0.94l0.36,2.54c0.05,0.24 0.24,0.41 0.48,0.41h3.84c0.24,0 0.44,-0.17 0.47,-0.41l0.36,-2.54c0.59,-0.24 1.13,-0.56 1.62,-0.94l2.39,0.96c0.22,0.08 0.47,0 0.59,-0.22l1.92,-3.32c0.12,-0.22 0.07,-0.47 -0.12,-0.61L19.14,12.94zM12,15.6c-1.98,0 -3.6,-1.62 -3.6,-3.6s1.62,-3.6 3.6,-3.6s3.6,1.62 3.6,3.6S13.98,15.6 12,15.6z"/>
</vector>

View File

@@ -0,0 +1,5 @@
<vector android:height="48dp" android:tint="?attr/colorControlNormal"
android:viewportHeight="24" android:viewportWidth="24"
android:width="48dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M14.43,10l-2.43,-8l-2.43,8l-7.57,0l6.18,4.41l-2.35,7.59l6.17,-4.69l6.18,4.69l-2.35,-7.59l6.17,-4.41z"/>
</vector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -0,0 +1,165 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="300.000000pt" height="300.000000pt" viewBox="0 0 300.000000 300.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.10, written by Peter Selinger 2001-2011
</metadata>
<g transform="translate(0.000000,300.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M408 2610 l4 -110 -31 0 c-30 0 -31 -2 -31 -41 0 -33 -3 -40 -16 -35
-9 3 -20 6 -25 6 -6 0 -7 5 -3 11 4 7 1 10 -7 7 -8 -3 -14 -13 -14 -24 0 -15
7 -19 33 -18 29 2 32 -1 32 -27 0 -26 4 -29 30 -29 l31 0 -3 -107 -3 -108 159
0 159 0 1 134 1 134 823 1 822 1 0 -136 0 -136 158 1 157 1 0 108 0 107 28 0
c23 0 27 4 27 30 0 28 2 30 33 28 26 -3 32 1 32 17 0 12 -8 21 -20 23 -16 3
-17 1 -5 -7 9 -6 10 -11 3 -11 -6 0 -18 -3 -27 -6 -13 -5 -16 2 -16 35 0 38
-2 41 -27 41 l-28 0 3 110 4 110 -161 0 -161 0 0 -147 0 -148 -822 2 -823 1
-1 144 -1 143 -159 3 -160 2 4 -110z m90 -183 c3 -277 2 -284 -48 -257 -17 9
-19 14 -10 25 7 8 9 18 6 23 -2 4 -6 36 -7 71 -2 44 -7 64 -18 71 -21 12 -20
129 1 141 9 5 15 27 17 56 1 26 7 51 13 54 6 4 2 10 -10 13 -12 4 -19 13 -16
22 2 7 6 21 9 30 3 10 14 14 32 12 l28 -3 3 -258z m119 1 l-2 -263 -50 0 -50
0 -3 263 -2 262 54 0 55 0 -2 -262z m81 233 c2 -15 -3 -30 -13 -37 -10 -8 -12
-14 -6 -19 6 -3 11 -30 11 -58 0 -29 4 -67 9 -85 7 -23 6 -32 -2 -32 -9 0 -11
-29 -10 -102 2 -57 -2 -107 -7 -114 -8 -8 -6 -14 6 -18 23 -9 -2 -38 -30 -34
-21 3 -21 8 -24 266 l-2 263 32 -3 c26 -2 34 -8 36 -27z m1762 -236 c0 -234
-2 -265 -16 -265 -24 0 -55 20 -48 31 3 6 7 62 8 125 1 94 -2 114 -13 114 -12
0 -12 3 -3 12 7 7 12 43 12 90 0 67 2 78 18 79 13 0 12 2 -5 9 -15 6 -23 18
-23 33 0 31 7 37 42 37 l28 0 0 -265z m120 1 l0 -265 -49 1 c-35 0 -51 4 -55
15 -4 8 -4 90 -2 182 2 91 5 203 5 249 l1 82 50 0 50 0 0 -264z m78 235 c2
-15 -3 -30 -13 -37 -10 -8 -12 -14 -6 -19 6 -3 11 -18 11 -33 0 -15 9 -44 20
-65 26 -48 26 -119 1 -155 -20 -28 -35 -152 -19 -152 18 0 6 -21 -18 -32 -21
-10 -27 -9 -34 3 -5 8 -8 88 -6 179 2 91 4 205 5 253 l1 88 28 -3 c20 -2 28
-9 30 -27z"/>
<path d="M855 2470 c-8 -13 14 -42 26 -34 5 3 9 14 9 25 0 20 -24 26 -35 9z"/>
<path d="M932 2458 c2 -12 10 -23 18 -23 22 0 19 39 -3 43 -15 3 -18 -1 -15
-20z"/>
<path d="M1002 2458 c2 -13 10 -23 18 -23 8 0 16 10 18 23 3 17 -2 22 -18 22
-16 0 -21 -5 -18 -22z"/>
<path d="M2052 2458 c2 -13 10 -23 18 -23 8 0 16 10 18 23 3 17 -2 22 -18 22
-16 0 -21 -5 -18 -22z"/>
<path d="M2132 2458 c2 -13 8 -23 13 -23 6 0 11 10 13 23 2 15 -2 22 -13 22
-11 0 -15 -7 -13 -22z"/>
<path d="M2202 2458 c2 -13 10 -23 18 -23 8 0 16 10 18 23 3 17 -2 22 -18 22
-16 0 -21 -5 -18 -22z"/>
<path d="M1318 2443 c127 -2 337 -2 465 0 127 1 23 2 -233 2 -256 0 -360 -1
-232 -2z"/>
<path d="M860 2361 c0 -22 6 -44 15 -51 12 -10 15 -10 15 2 0 8 -6 20 -12 27
-10 11 -10 14 0 18 17 7 15 43 -3 43 -11 0 -15 -11 -15 -39z"/>
<path d="M930 2380 c0 -15 5 -20 18 -18 9 2 17 10 17 18 0 8 -8 16 -17 18 -13
2 -18 -3 -18 -18z"/>
<path d="M1000 2368 c0 -39 -33 -98 -56 -98 -8 0 -24 5 -35 10 -18 10 -19 6
-19 -123 0 -74 -3 -155 -6 -181 -6 -38 -4 -46 10 -46 12 0 16 9 16 35 0 34 1
35 41 35 41 0 41 0 37 -34 -3 -27 0 -36 14 -39 14 -4 18 1 18 23 0 16 -4 32
-10 35 -6 4 -10 65 -10 152 0 130 2 147 20 170 11 14 20 41 20 59 0 27 -4 34
-20 34 -16 0 -20 -7 -20 -32z m-36 -150 c10 -38 7 -145 -5 -175 -10 -26 -12
-27 -19 -8 -10 24 -13 166 -4 189 9 23 21 20 28 -6z"/>
<path d="M2050 2375 c0 -28 20 -75 32 -75 11 0 10 7 -4 31 -10 17 -10 23 0 26
21 8 14 43 -8 43 -15 0 -20 -7 -20 -25z"/>
<path d="M2130 2380 c0 -11 7 -20 15 -20 8 0 15 9 15 20 0 11 -7 20 -15 20 -8
0 -15 -9 -15 -20z"/>
<path d="M2197 2358 c-3 -25 -15 -51 -31 -66 -22 -22 -28 -24 -51 -14 l-25 12
0 -150 c0 -88 -4 -151 -10 -155 -11 -7 -14 -48 -4 -58 3 -3 12 -3 20 0 9 3 12
15 8 39 l-5 34 46 0 47 0 -6 -35 c-6 -31 -4 -35 14 -35 15 0 20 6 20 24 0 14
-4 28 -10 31 -6 4 -10 65 -10 150 0 127 2 149 20 177 26 43 27 88 1 88 -14 0
-20 -10 -24 -42z m-37 -224 c0 -77 -3 -94 -15 -94 -12 0 -15 17 -15 93 0 52 3
97 6 100 17 17 24 -12 24 -99z"/>
<path d="M1527 2338 c-18 -10 -24 -58 -7 -58 6 0 10 -22 10 -49 l0 -49 -102
-4 c-68 -3 -115 -10 -138 -20 -19 -10 -51 -18 -70 -20 l-35 -3 -3 -87 c-3 -80
-5 -88 -22 -88 -12 0 -20 7 -20 16 0 9 -6 14 -12 12 -8 -3 -14 -28 -16 -66 -2
-51 0 -62 13 -62 8 0 15 7 15 15 0 8 9 15 20 15 19 0 20 -7 20 -89 l0 -89 38
-3 c46 -5 113 5 92 14 -8 3 -26 5 -40 4 l-25 -2 -3 195 c-2 174 -1 196 15 207
12 10 86 13 283 13 273 0 289 -2 304 -40 3 -8 4 -4 3 10 -3 42 -63 64 -184 68
l-103 4 0 42 c0 22 7 49 15 60 25 33 -12 75 -48 54z m-307 -414 c0 -47 0 -47
-24 -38 -19 7 -21 59 -3 78 19 21 27 9 27 -40z"/>
<path d="M1871 2133 c21 -5 29 -32 30 -108 1 -73 15 -47 18 33 2 59 -10 83
-43 81 -15 -1 -16 -3 -5 -6z"/>
<path d="M1380 2028 c-20 -11 -26 -22 -28 -60 -2 -32 2 -50 13 -62 23 -22 94
-21 111 2 17 22 18 96 1 111 -23 18 -70 22 -97 9z m74 -14 c11 -4 16 -19 16
-45 0 -32 -5 -41 -25 -51 -19 -8 -31 -8 -50 0 -21 10 -25 19 -25 51 0 22 5 42
13 44 18 8 53 8 71 1z"/>
<path d="M1407 1984 c-14 -15 -6 -34 14 -34 14 0 19 5 17 17 -3 18 -20 27 -31
17z"/>
<path d="M1640 2033 c-40 -15 -53 -79 -24 -121 18 -27 84 -31 108 -6 20 19 21
97 3 113 -17 14 -67 22 -87 14z m66 -21 c21 -14 23 -63 3 -83 -21 -21 -41 -24
-70 -9 -22 12 -27 68 -7 88 13 13 57 16 74 4z"/>
<path d="M1657 1983 c-14 -13 -7 -33 11 -33 26 0 34 11 21 27 -13 14 -22 16
-32 6z"/>
<path d="M1954 1976 c-3 -9 -15 -16 -25 -16 -15 0 -19 -7 -19 -35 0 -28 4 -35
20 -35 11 0 20 -7 20 -15 0 -8 7 -15 15 -15 12 0 15 13 15 59 0 58 -14 88 -26
57z"/>
<path d="M937 1963 c-4 -3 -7 -21 -7 -40 0 -40 26 -46 36 -8 10 39 -8 69 -29
48z"/>
<path d="M2127 1957 c-8 -21 4 -67 18 -67 14 0 26 46 18 67 -3 7 -11 13 -18
13 -7 0 -15 -6 -18 -13z"/>
<path d="M1901 1825 c-1 -33 -4 -70 -7 -82 -8 -27 -44 -31 -45 -5 0 10 -3 12
-6 5 -2 -7 -18 -13 -33 -13 -57 0 -39 -18 21 -22 82 -4 89 1 88 70 -1 84 -17
124 -18 47z"/>
<path d="M893 1763 c7 -116 26 -175 70 -222 33 -34 118 -81 150 -81 16 0 17
-17 17 -225 l0 -225 25 -6 c14 -3 39 -4 55 0 l30 5 0 -99 0 -100 26 10 c33 13
90 13 115 0 18 -10 19 -6 19 87 l0 98 151 0 150 0 -3 -93 -3 -92 47 6 c26 4
61 2 77 -4 l31 -11 0 98 0 98 49 -5 c41 -4 50 -1 58 14 4 11 6 114 3 229 l-5
210 -5 -205 -5 -205 -320 -5 c-176 -3 -303 -7 -282 -10 58 -8 49 -25 -16 -28
-57 -3 -93 10 -81 29 3 5 2 9 -3 9 -11 0 -4 563 7 574 7 7 10 -91 10 -266 0
-239 2 -279 16 -292 8 -9 20 -14 25 -11 5 4 9 126 9 284 0 202 3 280 12 289 9
9 72 12 223 12 l210 0 0 38 0 37 -211 0 c-160 0 -210 -3 -203 -12 7 -7 6 -13
0 -17 -6 -4 -8 -13 -5 -21 8 -21 -12 -26 -112 -28 -72 -2 -89 -5 -89 -17 0
-11 9 -14 31 -12 18 2 36 -3 42 -11 9 -10 11 -88 10 -282 -3 -247 -4 -268 -21
-271 -32 -4 -39 32 -37 214 1 144 -2 181 -14 197 -10 13 -15 43 -16 85 l0 65
-42 20 c-60 28 -88 86 -88 177 l0 68 -57 0 -56 0 6 -97z m74 1 c7 -78 29 -122
80 -159 40 -29 64 -68 56 -91 -6 -18 -76 13 -109 47 -15 15 -35 52 -46 81 -20
59 -24 158 -6 176 16 16 18 12 25 -54z m866 -749 c2 -11 -87 -20 -110 -11 -8
3 -11 11 -8 16 8 14 114 9 118 -5z m-475 -82 c4 -50 -11 -83 -35 -78 -10 2
-24 4 -30 4 -14 1 -19 102 -6 115 4 4 21 6 38 4 28 -3 30 -6 33 -45z m450 -7
c3 -50 -5 -68 -35 -72 -29 -5 -41 15 -41 64 0 51 10 64 48 60 22 -3 25 -8 28
-52z"/>
<path d="M2089 1778 c-5 -96 -25 -134 -85 -163 -34 -16 -38 -16 -46 -1 -7 13
-27 16 -99 16 -58 0 -88 -4 -84 -10 3 -5 28 -10 56 -10 27 0 49 -4 49 -10 0
-5 5 -10 10 -10 6 0 10 7 10 16 0 24 42 13 58 -16 8 -16 11 -44 8 -77 -5 -63
2 -66 79 -29 108 51 145 116 153 268 l5 108 -56 0 -55 0 -3 -82z m69 -54 c-4
-73 -8 -90 -34 -127 -30 -43 -86 -87 -110 -87 -9 0 -14 11 -14 28 0 21 11 37
45 65 55 47 85 102 85 160 0 46 6 60 23 50 5 -3 8 -41 5 -89z"/>
<path d="M1396 1835 c-20 -20 -20 -35 -2 -61 13 -17 29 -19 143 -22 116 -3
131 -2 153 16 21 17 23 24 15 48 l-10 29 -142 3 c-118 2 -144 0 -157 -13z
m284 -10 c6 -8 10 -22 8 -32 -3 -16 -16 -18 -137 -18 -114 0 -135 2 -144 17
-8 12 -7 21 2 32 19 22 252 24 271 1z"/>
<path d="M1364 1338 l1 -123 181 -3 182 -2 0 125 0 125 -183 0 -183 0 2 -122z
m223 89 c3 -4 -21 -7 -54 -7 -100 0 -118 -52 -45 -128 7 -9 19 -11 30 -6 16 7
16 7 -1 11 -11 3 -16 11 -13 18 3 10 0 12 -11 8 -13 -5 -15 -2 -10 11 5 14 3
17 -8 12 -20 -7 -20 30 -1 50 16 16 61 20 51 4 -4 -6 5 -10 19 -10 14 0 26 5
26 10 0 15 29 12 45 -4 18 -18 23 -52 8 -49 -7 2 -13 -4 -13 -13 0 -10 -5 -14
-16 -10 -9 4 -13 2 -8 -5 4 -6 0 -15 -7 -20 -11 -7 -11 -9 -1 -9 7 0 10 -4 7
-10 -15 -25 16 -6 45 26 40 46 70 115 34 80 -14 -15 -18 -14 -36 9 -26 33 -16
45 38 45 l45 0 -3 -92 -3 -93 -130 -3 c-71 -1 -145 0 -162 3 l-32 6 0 82 c0
51 5 85 12 89 14 9 184 4 194 -5z m51 -204 c-49 -2 -127 -2 -175 0 -49 1 -9 3
87 3 96 0 136 -2 88 -3z"/>
<path d="M1307 784 c-4 -4 -7 -20 -7 -36 0 -22 5 -28 21 -28 17 0 20 5 17 32
-3 31 -17 45 -31 32z"/>
<path d="M1757 783 c-4 -3 -7 -19 -7 -35 0 -21 5 -28 20 -28 16 0 20 7 20 35
0 33 -16 46 -33 28z"/>
<path d="M1240 620 l0 -138 -34 0 c-19 0 -40 -3 -46 -7 -19 -12 -31 -55 -21
-73 8 -14 10 -12 16 11 6 20 16 29 45 37 21 6 43 17 50 25 8 10 31 15 66 15
45 0 58 -4 75 -24 12 -13 21 -28 21 -33 0 -4 7 -17 14 -28 8 -11 14 -23 14
-28 0 -4 -83 -7 -184 -5 -178 3 -185 2 -190 -17 -3 -11 -6 -22 -6 -25 0 -3 90
-6 200 -6 l199 0 0 46 c-2 58 -16 98 -40 105 -17 6 -19 18 -19 147 0 124 -2
139 -16 134 -9 -3 -21 -6 -27 -6 -7 0 -6 -4 2 -9 8 -5 16 -21 18 -35 4 -25 2
-26 -57 -26 -64 0 -72 8 -45 47 14 19 13 21 -10 25 l-25 5 0 -137z m115 -35
l0 -70 -35 0 -35 0 -3 59 c-4 78 1 88 40 84 l33 -3 0 -70z"/>
<path d="M1698 618 c4 -118 3 -138 -10 -138 -27 0 -48 -35 -48 -78 l0 -42 -85
0 c-50 0 -85 -4 -85 -10 0 -5 6 -10 14 -10 8 0 16 -6 19 -14 8 -20 -44 -26
-233 -25 -192 2 -226 7 -222 33 3 17 -3 18 -105 12 -126 -8 -173 -15 -173 -26
0 -36 1010 -50 1419 -19 196 14 180 31 -42 45 -102 6 -108 6 -105 -12 2 -13
-5 -20 -27 -25 -72 -16 -495 -6 -495 11 0 5 15 8 34 8 18 0 43 5 55 11 17 9
21 9 21 -2 0 -11 39 -13 200 -13 l200 1 0 22 0 23 -185 0 c-121 0 -185 4 -185
10 0 16 41 94 54 102 20 14 114 9 129 -7 8 -7 26 -17 41 -21 14 -3 37 -20 51
-38 l25 -31 0 26 c0 42 -30 71 -74 71 l-38 0 3 134 c2 74 0 134 -4 134 -37 0
-37 0 -27 -26 16 -41 13 -44 -50 -44 -64 0 -72 8 -45 47 13 19 13 21 -9 25
l-23 5 5 -139z m108 18 c3 -12 4 -45 2 -72 -3 -46 -5 -49 -32 -52 -38 -5 -47
11 -44 78 1 44 6 57 22 66 27 14 45 7 52 -20z"/>
<path d="M1087 462 c-10 -10 -17 -32 -16 -48 l1 -29 14 32 c7 17 24 39 36 47
22 16 22 16 2 16 -12 0 -28 -8 -37 -18z"/>
<path d="M1967 468 c12 -6 27 -23 33 -39 13 -30 34 -31 23 -1 -11 30 -35 52
-57 51 -21 0 -21 0 1 -11z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
</android.support.constraint.ConstraintLayout>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
</android.support.v7.widget.Toolbar>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
</menu>