Login or Register

NFO File

For [FTUForum.com] [UDEMY] Android App Development Course Build TDS App Using Firebase [FTU] [c

WEBVTT

00:00.090 --> 00:00.720
Hello guys.

00:00.720 --> 00:01.890
Welcome back once again.

00:01.890 --> 00:09.960
In this part we will design our item layout for retrieving our data Okay so that we can show it here.

00:09.960 --> 00:17.500
So first we need to create a faster we need to create a new layout.

00:17.510 --> 00:18.470
Sarah can see

00:21.350 --> 00:26.440
so we need to so so we can connect or recycle like you here right now.

00:26.480 --> 00:30.290
So private recycler who is going to recycle our view

00:33.400 --> 00:41.990
and we need to add our recycle if you were so recycle or fuel so recycle of you is a call to find if

00:41.990 --> 00:42.910
you buy.

00:43.230 --> 00:52.890
So find view where ideas are good I did not recycle that idea and to linear layout manager Daniel load

00:52.900 --> 00:59.440
manager league manager is a call to a new linear loud manager get application context

01:02.150 --> 01:02.490
OK.

01:02.500 --> 01:08.170
So we need to implement a little bit linear loud manager not layout manager DOT said reverse layout

01:08.200 --> 01:10.240
set a stack from said give us not true

01:13.010 --> 01:14.100
and delivered manager.

01:14.110 --> 01:14.570
Dot

01:17.280 --> 01:18.540
into a layout manager.

01:18.540 --> 01:22.000
Dot said a stack from it Drew.

01:22.860 --> 01:30.150
OK so reverse layout true and a stack of from into true and recycled out of your door set has fixed

01:30.150 --> 01:32.110
size to.

01:32.520 --> 01:42.840
And to recycle out of you dart set loud manager is going to be loud manager remember that we need to

01:42.840 --> 01:47.370
add to these few lines of code if you want to implement recycle that if you need to implement Linear

01:47.370 --> 01:53.290
Layout manager and then you need to match these rivers to large cities took from me and has fixed size

01:53.610 --> 01:55.700
and only then set to this music.

01:56.250 --> 02:06.730
OK so all done now create a new layout so right click and create large resource phone and we can call

02:06.730 --> 02:18.440
it item layout item layout design and OK so now first we need to do we need to generate these constant

02:18.440 --> 02:22.840
layout and we need to add curfew K

02:25.730 --> 02:28.970
and Janice decide to mess burn to wrap content

02:36.660 --> 02:45.880
and to add it to our chair Gardella has shown to be OK and add MPP

02:49.180 --> 02:51.660
Guardiola has shown is going to be 10 DP

02:56.140 --> 02:56.890
OK no problem

03:03.800 --> 03:10.970
no we need to add a linear low to white mass pattern and Heidi's going to build up content Okay so before

03:10.970 --> 03:12.910
that we need to add matching.

03:12.940 --> 03:17.970
So we had cloud margin 10 DP so that we can see a work out with you okay

03:23.390 --> 03:26.450
and to Lena Loudon manager orientation is going to be particle

03:35.360 --> 03:35.810
okay.

03:36.560 --> 03:41.430
So now we need to add another linear layout and inserted in a load on need to add a wide mass burden

03:41.440 --> 03:42.560
and hardship content.

03:42.590 --> 03:51.200
And for this thing allowed we need to add orientation horizontal fast at Gravity center

03:56.100 --> 04:03.850
and added TextView white mass parent and hydrogen content and add text.

04:04.050 --> 04:06.870
And we can call it 16 February

04:12.930 --> 04:23.890
16th over 2019 and Android a gravity center AK and you need to chance this background color.

04:23.900 --> 04:34.100
And as a less text size so add to background my background is going to be between design and add and

04:34.120 --> 04:34.710
gravity

04:37.290 --> 04:44.520
and that loud gravity's going to be center and on request text appearance and this text appearance is

04:44.520 --> 04:56.030
going to be text or appearance medium and bedding is going to be bedding down DP and color is going

04:56.030 --> 05:08.060
to be text color is going to be Android color white.

05:08.720 --> 05:12.790
Okay now we need to chance high domestic burn to wrap content I think.

05:12.870 --> 05:15.020
No it's not looking good.

05:17.530 --> 05:18.720
It's not looking good.

05:23.780 --> 05:33.400
And at bedding 15 DP I think we need to choose high wire to wrap content and not trap content right.

05:33.830 --> 05:35.850
Mess burn and before that and defined.

05:36.170 --> 05:37.310
So ideas.

05:38.270 --> 05:48.850
So ideas going to be debt and not we can simply add an underling and load two items parent and hijab

05:48.860 --> 05:50.870
content wrap content

05:57.650 --> 05:59.120
and add orientation particle

06:03.130 --> 06:09.830
and add a tax bill white mass Palin and hate is going to boot up content and is going to be allowed

06:09.830 --> 06:11.120
margin 10 DP

06:20.750 --> 06:21.630
and we can choose.

06:21.630 --> 06:25.430
This text is hello is my title.

06:26.120 --> 06:31.840
So for this opinion Lord we need to add orientation and height close to the bottom we at the end of

06:31.840 --> 06:42.610
the text view so define text reference is going to be text appearance medium and

06:44.990 --> 06:46.430
maximum line use a 1

07:04.030 --> 07:05.930
and we need to choose a text color.

07:06.130 --> 07:12.670
So go to this color and we can simply copy color

07:22.740 --> 07:27.410
and this color O K No prob.

07:28.820 --> 07:38.710
So now we need to define our I.D. So Ida is going to be 80 and this one is going to be for name.

07:38.990 --> 07:39.630
All right.

07:39.660 --> 07:44.040
So now we're ready to go and we can just name I.D. name dear.

07:44.180 --> 07:45.810
That'll be good.

07:45.810 --> 07:46.360
Okay.

07:46.560 --> 07:51.690
So simply copy this one and pasted to your.

07:52.870 --> 07:58.230
And for this one is for our description.

07:58.280 --> 08:04.370
Okay so what we can do we can change the we can change the idea name.

08:04.410 --> 08:07.140
So choose that enum to description item

08:10.910 --> 08:11.490
okay.

08:11.620 --> 08:20.480
So our debt our title and our discussion is ready.

08:20.490 --> 08:25.850
So I think you need to choose that text color and maximum I know one

08:29.410 --> 08:32.760
ad bidding 10 DP or five DP.

08:32.840 --> 08:34.020
That'll be good.

08:34.080 --> 08:41.900
So fading five DP ad for this line as well as we also need to add bidding for 10 DP.

08:42.510 --> 08:42.780
Okay.

08:42.790 --> 08:45.380
So I think finally we will be good.

08:45.730 --> 08:47.750
So fading five DP.

08:47.770 --> 08:49.000
Okay.

08:49.600 --> 08:50.520
All good.

08:53.780 --> 08:58.400
No for this I need to define it.

08:58.420 --> 08:58.800
I.D.

09:03.380 --> 09:08.990
we already defined the idea but we need to choose the maximal line to form a description.

09:08.990 --> 09:09.680
Okay.

09:09.840 --> 09:11.880
So I think oh all done.

09:12.750 --> 09:13.970
And now we're ready to go.

09:13.980 --> 09:14.710
We can.

09:15.000 --> 09:18.800
We can implement our recycle view with this item load.

09:18.940 --> 09:20.610
So check it one more time.

09:21.080 --> 09:28.430
So we have I.D. fading maximum line color and four dead 18 for dead.

09:28.430 --> 09:30.560
I think we need to customize something.

09:30.560 --> 09:34.830
So just adding him that item is not looking good.

09:34.910 --> 09:47.010
It will be good if we can if we can GNC to it to mess better instead of wrap content and add a margin

09:47.230 --> 09:49.350
for our men in your low density.

09:49.760 --> 09:54.880
Now we can see some expense okay.

09:55.000 --> 10:07.050
I think we don't need to add margin at Okay so I think that's enough for this but we will continue to

10:07.060 --> 10:09.070
form a one next but doing that.

10:09.070 --> 10:09.790
Keep watching.