All language subtitles for 1. Deep explanation of the bottom Bar screen (Added after publishing)

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French Download
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:01,380 --> 00:00:02,250 Hello, guys. 2 00:00:02,270 --> 00:00:06,400 I hope that you're doing well as a story or as a structure. 3 00:00:06,420 --> 00:00:14,070 I will explain the bottom bar and it's actually it would be an explanation of the bottom section and 4 00:00:14,070 --> 00:00:20,360 my course, because many of you faced many issues and many of you didn't understand it very well. 5 00:00:20,370 --> 00:00:27,750 So I decided to make this tutorial to make everything clearer and write the code from zero and explain 6 00:00:27,750 --> 00:00:28,980 it in front of you. 7 00:00:29,820 --> 00:00:34,830 So to start with, we need to understand what the spot on our page is. 8 00:00:36,930 --> 00:00:42,540 So as you can see and this bottom part section, we can manage our pages and at. 9 00:00:44,430 --> 00:00:52,160 So to start with, we need to initialize something to get the screens, to display it as is put on our 10 00:00:52,200 --> 00:00:52,570 screen. 11 00:00:53,040 --> 00:01:00,270 So for that I will initialize annualised, let's say, list and they match pages or screens. 12 00:01:02,550 --> 00:01:04,380 And we need to initialize it. 13 00:01:06,650 --> 00:01:13,640 And I forget to say that it's a brand new project, it's not attached to our real project that we implemented 14 00:01:13,640 --> 00:01:16,100 as escorts, so I create a new project. 15 00:01:17,250 --> 00:01:19,290 And if you paid for it. 16 00:01:20,950 --> 00:01:25,930 Such as Icard, Siffredi screen, so all the pages that we are this planet and here. 17 00:01:33,170 --> 00:01:39,560 So at the bottom of the screen and the page section, we need to initialize each of the screen. 18 00:01:41,760 --> 00:01:48,510 So the first screen will be the home screen, the second one will be the feed the screen. 19 00:01:49,890 --> 00:01:51,720 Third one will be the search. 20 00:01:57,210 --> 00:02:05,760 Then the and last one will be the user apple or the user screen. 21 00:02:07,390 --> 00:02:07,920 That's for sure. 22 00:02:07,950 --> 00:02:08,940 We need to import them. 23 00:02:12,900 --> 00:02:14,010 So just like this. 24 00:02:14,900 --> 00:02:21,350 Now we need to add an to manage our pages, so we need to know which page are we displaying right now 25 00:02:21,920 --> 00:02:29,630 so far that we can simply initialize an index and later on, once the user press on any of these Wattenberg's 26 00:02:30,230 --> 00:02:30,890 sections. 27 00:02:31,040 --> 00:02:35,540 So if the user press on the section, for example, we need to change this index to zero. 28 00:02:39,400 --> 00:02:48,640 So in here, let's say, and I when I met selected and X and initialize it to zero. 29 00:02:50,480 --> 00:02:51,680 And as I said. 30 00:02:53,440 --> 00:02:59,680 Once the user pressed on top of this button were the selected index must be changed. 31 00:03:01,060 --> 00:03:02,860 So anyway, let's add a method. 32 00:03:04,590 --> 00:03:07,260 Let's say selected Paige. 33 00:03:09,000 --> 00:03:19,710 And give it an index, let's say, in here index, and we need to set this untax equal to the selected 34 00:03:19,710 --> 00:03:20,250 index. 35 00:03:21,700 --> 00:03:27,040 So in here, we say selected and equal to index just like that. 36 00:03:29,200 --> 00:03:36,370 Now, as I said, as a body, we need to use this page and the selected index to know what page or what 37 00:03:36,370 --> 00:03:39,340 screen we need to show on the screen. 38 00:03:40,750 --> 00:03:48,240 So let's say in here, buddy, and we need to call this list pasted in here and we need to call the 39 00:03:48,250 --> 00:03:52,130 selected ADEX for it just like this. 40 00:03:52,840 --> 00:03:54,070 Now, if I say it. 41 00:03:55,970 --> 00:04:03,200 The home page must be displayed, and if I change this ADEX, for example, let's say to the search 42 00:04:03,290 --> 00:04:05,280 screen, will be displayed, as you can see in here. 43 00:04:05,870 --> 00:04:08,270 So now we need to out the bottom of the screen. 44 00:04:09,900 --> 00:04:16,740 So for that, we need to add another attribute for the scaffold, which is the bottom navigation bar, 45 00:04:17,550 --> 00:04:25,950 and in here, let's say bottom up bar like this, and we need to give it a few attributes. 46 00:04:27,780 --> 00:04:32,970 Now, this could shape actually called Circular Nöjd Rectangle. 47 00:04:33,120 --> 00:04:40,200 So we need to give it a shape and call this name to it just like this. 48 00:04:40,620 --> 00:04:42,590 Below it, we need to give it a child. 49 00:04:45,690 --> 00:04:51,930 So as a child, we need to initialize those widgets so we can say what? 50 00:04:53,450 --> 00:05:02,510 Navigation bar this time, and when to took it on top, and you might know that on this on top, as 51 00:05:02,510 --> 00:05:08,870 I explained, we need to use this selected index so we can just call it like this. 52 00:05:11,610 --> 00:05:18,690 We can't give it background color, for example, and I will give it the primary color of my team. 53 00:05:22,820 --> 00:05:29,120 And you can choose the unselected color and the selected color and many things you can try right by 54 00:05:29,120 --> 00:05:39,530 your own, but but now I will change the selected item color and in my case, I will use the tax selection 55 00:05:39,530 --> 00:05:39,920 color. 56 00:05:43,980 --> 00:05:47,760 This one and first selected color. 57 00:05:50,240 --> 00:05:51,170 So one. 58 00:05:52,490 --> 00:05:54,940 Let's say colors don't purple. 59 00:05:58,930 --> 00:06:06,580 OK, that's now the most important thing for this bottom navigation bar is to manage this shape. 60 00:06:08,290 --> 00:06:12,530 Of it, so as you can see, it is an icon and beloved service urtext. 61 00:06:13,870 --> 00:06:21,340 So any let's initialised see items for it and now just line below this, which it is this appearance. 62 00:06:22,930 --> 00:06:25,180 So in here, let's say what's on. 63 00:06:27,330 --> 00:06:28,500 Navigation bar. 64 00:06:31,780 --> 00:06:33,250 So bottom navigation bar. 65 00:06:34,750 --> 00:06:35,320 Item. 66 00:06:38,310 --> 00:06:45,000 And as you can see, we can't give it the icon, which is I will give it the icon, hopefully for the 67 00:06:45,000 --> 00:06:45,530 first one. 68 00:06:46,020 --> 00:06:53,250 So I consider Tom, let's say, and below it, we can add, lable, title, tooltip, anything that 69 00:06:53,250 --> 00:06:55,110 you want, for example, if I add it all. 70 00:06:57,290 --> 00:07:03,420 And say home was used to keep pressing on it and would be displayed as a home. 71 00:07:03,650 --> 00:07:08,800 I will show you once I start this application now we need to add a label for it. 72 00:07:09,320 --> 00:07:14,280 So in here, let's say, for example, home. 73 00:07:18,760 --> 00:07:19,480 Just like this. 74 00:07:23,490 --> 00:07:31,530 Now we need to cooperate to manage the other widgets, so the second one would be defeat, the third 75 00:07:31,530 --> 00:07:33,240 one will be the surge. 76 00:07:35,220 --> 00:07:38,770 Fourth one would be second and last one would be the user. 77 00:07:39,000 --> 00:07:40,560 So any, let's say user. 78 00:07:42,640 --> 00:07:44,230 And here, let's say Kurt. 79 00:07:47,990 --> 00:07:53,480 And we need to change the icon of each one, so any his search in here. 80 00:07:54,920 --> 00:07:55,970 Shopping cart. 81 00:07:57,510 --> 00:07:59,430 Let's search for shopping. 82 00:08:02,140 --> 00:08:06,460 I will use the shopping bag, it's fine and in here, let's say person. 83 00:08:11,280 --> 00:08:14,730 And we need to change this to Serge. 84 00:08:18,140 --> 00:08:23,030 And since the surge, actually, we don't need this icon in here, I will not delete it. 85 00:08:23,030 --> 00:08:25,960 I will show you what will be displayed if I keep it. 86 00:08:26,870 --> 00:08:34,530 And in here, we need to access the RSS feeds and let's say fits in here. 87 00:08:37,270 --> 00:08:38,380 Now, I would say that. 88 00:08:41,840 --> 00:08:42,270 Great. 89 00:08:42,290 --> 00:08:43,220 So here it is. 90 00:08:46,410 --> 00:08:49,080 So it is working very, very well and. 91 00:08:50,110 --> 00:08:52,060 The caller is not getting changed. 92 00:08:52,090 --> 00:08:53,540 We will fix that later. 93 00:08:53,860 --> 00:08:59,130 And as you can see, the icon in here is the search icon is being displayed. 94 00:08:59,140 --> 00:09:04,200 And if I keep pressing on any of these widgets, here's Sweetwater. 95 00:09:05,740 --> 00:09:06,150 Great. 96 00:09:06,340 --> 00:09:10,720 So now that the floating action bar, so any let's say lotting. 97 00:09:12,200 --> 00:09:17,180 Action, what actually we need to specify the location for it, so in here, let's say flooding action 98 00:09:18,480 --> 00:09:19,260 on location. 99 00:09:19,460 --> 00:09:24,740 So I would copy says changes like this and now you can choose. 100 00:09:25,840 --> 00:09:34,000 Where you want to place that, I would place that and the center docked just like this. 101 00:09:35,080 --> 00:09:43,630 Now we need to initialize that sort of say in here, plotting action, Watson, and say plotting action 102 00:09:43,630 --> 00:09:47,620 button in here and give it a few attributes. 103 00:09:47,620 --> 00:09:51,480 I would give it the background color and give it the proper color. 104 00:09:52,270 --> 00:09:54,190 Ready for that would take the exact color. 105 00:09:57,790 --> 00:10:09,460 We can add tooltip for it, so I will add tooltip and say search below it, let's say the elevation 106 00:10:09,460 --> 00:10:10,900 for it, which was five. 107 00:10:12,630 --> 00:10:20,820 And for sure, we need to add the child for it so you can add many other attributes, you can play with 108 00:10:20,820 --> 00:10:21,060 them. 109 00:10:21,720 --> 00:10:23,540 But no, I will just ask the child. 110 00:10:23,850 --> 00:10:31,830 So in here as a child, it will be an icon, which is the search icon. 111 00:10:37,580 --> 00:10:39,380 Great ad, we need to give it. 112 00:10:41,920 --> 00:10:49,090 On oppressed and in here, we need to call substate and set the selected ADEX to to. 113 00:10:52,480 --> 00:10:55,300 Just like this, now let's start our application. 114 00:10:59,900 --> 00:11:06,470 So here it is now you can understand why I didn't want to initialize this icon in here, so let's say 115 00:11:06,470 --> 00:11:10,540 just now in here, let's save it. 116 00:11:11,690 --> 00:11:13,610 And I got an error. 117 00:11:14,210 --> 00:11:19,700 So we need to add another argument, which is the active icon and say in here and say it again. 118 00:11:20,670 --> 00:11:26,390 So they are still saying, let's add icon in here and say, no, not. 119 00:11:28,100 --> 00:11:31,010 So here it is now, you could do something else. 120 00:11:31,040 --> 00:11:32,450 We can't just keep it. 121 00:11:32,660 --> 00:11:33,520 I will try it. 122 00:11:34,160 --> 00:11:42,800 For example, let's say icon icons, dot surge and give it color or transparent color. 123 00:11:42,830 --> 00:11:43,840 Let's see what will happen. 124 00:11:44,660 --> 00:11:45,880 It is the same, actually. 125 00:11:46,700 --> 00:11:47,990 So I will comment. 126 00:11:50,270 --> 00:11:57,220 This I would comment it later, let's say, no, I can not keep it like this, I would call it that 127 00:11:57,230 --> 00:12:00,920 for you and Bastet in here at. 128 00:12:02,230 --> 00:12:10,430 Well, we need to comment this just like this, so now everything's working fine. 129 00:12:10,480 --> 00:12:13,840 We need to fix the color of each item. 130 00:12:14,710 --> 00:12:19,370 OK, so we still once we press on this, nothing is getting changed in here. 131 00:12:19,430 --> 00:12:23,650 That's because I forgot to add something very important in here. 132 00:12:24,490 --> 00:12:31,930 So to know which which is the selected item and which is the other item, we need to add the index for 133 00:12:31,930 --> 00:12:32,150 it. 134 00:12:32,410 --> 00:12:38,380 So in here, let's say current index, it would be equal for sure to our selected index just like this. 135 00:12:38,650 --> 00:12:39,930 Now let's give it a try. 136 00:12:42,480 --> 00:12:45,180 So I guess it is working as we expected. 137 00:12:46,620 --> 00:12:48,430 Now, I will do something interesting. 138 00:12:48,900 --> 00:12:56,010 Now, you could initialize this at the state and you could convert this to EMAP. 139 00:12:57,470 --> 00:12:59,900 And that's what will I do know. 140 00:13:02,540 --> 00:13:13,520 So actually, I will just common sense and let's initialize in here a map, so let's say at least map. 141 00:13:15,170 --> 00:13:29,340 Of strength and object for sure and close it in here and let's initialize it or name it underscore page. 142 00:13:30,920 --> 00:13:36,230 Now, you could initialize it just like this in here, but I will initialize it now. 143 00:13:36,230 --> 00:13:37,340 And the state. 144 00:13:39,440 --> 00:13:49,010 So any let's at the end state and let's say this page equal to something. 145 00:13:53,090 --> 00:14:01,190 So in here, let's initialize it like this, let's say you page equal to. 146 00:14:02,170 --> 00:14:05,260 For example, the first one will be the homescreen. 147 00:14:09,670 --> 00:14:13,150 Let's copy this place that four more times. 148 00:14:15,500 --> 00:14:17,210 Others simply call for each one. 149 00:14:19,930 --> 00:14:27,640 Like this now changes to user screen, changes to screen, changes to social screen 150 00:14:30,490 --> 00:14:32,740 and just want to fit screen. 151 00:14:35,270 --> 00:14:42,100 Now, in here, we got an order for sure, and we just need to access the page key word in here. 152 00:14:46,840 --> 00:14:47,940 So nothing changed. 153 00:14:49,600 --> 00:14:56,380 So you may be wondering why I did it like that, for example, imagine that we need to add dynamic. 154 00:14:56,380 --> 00:15:01,540 Think, for example, for each page, for example, let's say the upper. 155 00:15:02,680 --> 00:15:08,440 Now, you could at the upper end, each screen, for example, and the screen at a different upper and 156 00:15:08,440 --> 00:15:12,070 hear are different about what not. 157 00:15:12,260 --> 00:15:13,710 I would do it now in here. 158 00:15:14,470 --> 00:15:19,780 So let's initialize Anapa and I would give it a title. 159 00:15:24,290 --> 00:15:33,590 True, and let's say title in here, and we need to give it something, let's say in here below, let's 160 00:15:33,590 --> 00:15:34,730 initialize something else. 161 00:15:34,730 --> 00:15:40,790 Let's say Titan, let's say title, and let's initialize in here, let's say homescreen. 162 00:15:43,400 --> 00:15:50,400 If a screen, let's say something else, so can say something else, same for the others. 163 00:15:50,870 --> 00:15:52,310 So in here, let's say. 164 00:15:54,470 --> 00:15:59,990 Feeds screen in here, let's say 165 00:16:03,320 --> 00:16:05,000 search screen, 166 00:16:07,940 --> 00:16:08,960 same for the card. 167 00:16:11,300 --> 00:16:14,000 And same for the user screen. 168 00:16:18,370 --> 00:16:21,820 OK, so now for the title, let's initialize it Etext. 169 00:16:25,230 --> 00:16:26,550 That's codpieces. 170 00:16:29,260 --> 00:16:32,840 Paste it in here and in here, we need to access the total. 171 00:16:33,740 --> 00:16:34,820 I will start it now. 172 00:16:35,780 --> 00:16:41,420 And see the difference, so here it is, here's the other end in here. 173 00:16:41,450 --> 00:16:44,900 There is the homescreen that with just initialise it in here. 174 00:16:46,280 --> 00:16:53,450 If I press on the feeds, screen the screen as being displayed, if I press on the search, the search 175 00:16:53,720 --> 00:16:56,410 upper end here is being displayed. 176 00:16:56,570 --> 00:17:01,450 So each one is being displayed according to the items that we initialize that assessment. 177 00:17:01,700 --> 00:17:11,660 So I always encourage you to use this method and initialize it like this now and later as the scores 178 00:17:11,660 --> 00:17:16,710 are actually initialized, each of those all of these eyeballs and each screen. 179 00:17:18,140 --> 00:17:21,020 So feel free to use any method that you want. 180 00:17:21,710 --> 00:17:23,970 OK, so now let's do something interesting. 181 00:17:24,200 --> 00:17:32,260 For example, if you want to add another line, for example, at the site, for example, you could 182 00:17:32,270 --> 00:17:33,410 change this elevation. 183 00:17:33,410 --> 00:17:35,510 Also in here, let's say five. 184 00:17:37,050 --> 00:17:39,580 As you can see, it is a little bit different. 185 00:17:41,250 --> 00:17:43,970 I'll keep it like this so you can't change it as you want. 186 00:17:45,510 --> 00:17:46,110 And. 187 00:17:47,390 --> 00:17:49,580 To do the top border for it. 188 00:17:50,580 --> 00:17:59,600 Let's wrap this by in your container and some of you got an error, actually an overflowing error. 189 00:18:01,400 --> 00:18:08,780 Because and the tutorial, I give it a height and for example, let's say out of ten. 190 00:18:09,860 --> 00:18:14,000 Now, I didn't get an overflow error, but it has rarely appeared in here. 191 00:18:15,320 --> 00:18:22,970 But if you got an error, you can just delete the site in here and you could access the bottom navigation 192 00:18:23,090 --> 00:18:26,030 bar by typing, okay, bottom navigation bar. 193 00:18:26,420 --> 00:18:27,320 I just want. 194 00:18:29,410 --> 00:18:33,250 If you want to change it, you can multiply it by. 195 00:18:34,700 --> 00:18:35,810 The percentage of that. 196 00:18:37,890 --> 00:18:39,240 So here it is now. 197 00:18:40,250 --> 00:18:48,690 Some of you, that's why they got such an error, so you can't just comment it just like this. 198 00:18:49,910 --> 00:18:51,530 Now let's go for it. 199 00:18:51,680 --> 00:18:58,220 Let's say the declaration and gift box declaration, let's say for in here and initialize the border, 200 00:18:58,970 --> 00:18:59,750 then say. 201 00:19:01,230 --> 00:19:06,720 Top and say border site and specify the attributes for it. 202 00:19:07,200 --> 00:19:08,690 Choose the word for it. 203 00:19:08,710 --> 00:19:13,230 I would show the three to show you, so I hate it now. 204 00:19:13,230 --> 00:19:15,420 I would change it to the 2.5. 205 00:19:17,630 --> 00:19:21,230 It looks good and you could have changed the color as what you want. 206 00:19:23,260 --> 00:19:24,250 For example. 207 00:19:25,890 --> 00:19:28,260 You can change change as you want. 208 00:19:28,290 --> 00:19:35,340 You can choose any color, but as you can see, it is very unlikely that zip line across across this 209 00:19:35,580 --> 00:19:36,660 floating action button. 210 00:19:37,410 --> 00:19:40,950 So we need to change this and we need to fix it for that. 211 00:19:40,950 --> 00:19:49,020 We could add a few attributes for this bottom modification, but we could add the notch module in here. 212 00:19:49,050 --> 00:19:55,110 And actually for this floating button, we could wrap it by somebody. 213 00:19:57,320 --> 00:20:05,780 Let's keep it like this, and we could add a notch in here, let's change to two. 214 00:20:10,290 --> 00:20:19,170 OK, I will delete the elevation and we still need to add something, so we need to add the clip behavior. 215 00:20:20,130 --> 00:20:23,640 So any little clip that Auntie Oreo's. 216 00:20:26,220 --> 00:20:29,150 So here it is now you can see the nöjd. 217 00:20:30,630 --> 00:20:39,900 And here so and it's very well, you could change the notch, Marjan, for example, to 18 and it is 218 00:20:39,900 --> 00:20:47,550 now become way more bigger, you could get the padding for this. 219 00:20:49,850 --> 00:20:54,200 But I would just tell you that I wanted to show you that you could demonstrate any. 220 00:20:57,660 --> 00:20:57,810 Did. 221 00:21:00,210 --> 00:21:02,460 Now, let's say this three. 222 00:21:04,980 --> 00:21:14,530 And you can change it as what you want and you can try on other things, for example, hard edge and 223 00:21:14,550 --> 00:21:17,840 -- and choose what suits you better. 224 00:21:18,480 --> 00:21:22,180 So that's as far as material, I hope that I explain it very well. 225 00:21:22,890 --> 00:21:26,010 I want you to really get the most benefit of this course. 226 00:21:26,670 --> 00:21:31,800 And if you have any suggestion and if you have any questions, feel free to ask me. 227 00:21:32,740 --> 00:21:37,330 And I would expect entertains and I will do the best for you. 20603

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.