1
00:00:00,210 --> 00:00:02,130
Hello this is Mortaza Qwerty.

2
00:00:02,190 --> 00:00:06,270
And in this story all we're created designed the layout of our application.

3
00:00:06,510 --> 00:00:11,650
So here we can see that at the left hand side we have the Android view just opened the Android view

4
00:00:12,330 --> 00:00:15,020
and we have free folders we have that manifests.

5
00:00:15,030 --> 00:00:18,440
That actually contains this android manifest that XML file.

6
00:00:18,450 --> 00:00:23,940
If I doubleclick on this file you can see all the information that general information about our application

7
00:00:24,390 --> 00:00:26,170
which is very important.

8
00:00:26,460 --> 00:00:32,790
So for example it says we have this application tag it is allowed back up through the icon we can specify

9
00:00:32,790 --> 00:00:35,360
the icon of the app here.

10
00:00:35,570 --> 00:00:40,350
So it is referring to the app sign me Metamath slash Icelandair Lanter.

11
00:00:40,530 --> 00:00:43,870
We have the label so you can actually change the label.

12
00:00:43,860 --> 00:00:45,990
So let me run the app here.

13
00:00:46,290 --> 00:00:54,360
And by the way if you don't know how to create a virtual device in newer than it was Android studio

14
00:00:54,900 --> 00:00:58,990
version you can see that when I click on this run button here at the bottom it says.

15
00:00:59,010 --> 00:01:03,450
So we have these options here at the bottom it says create new virtual device.

16
00:01:03,510 --> 00:01:06,670
If I click on it you can actually specify the device.

17
00:01:06,720 --> 00:01:11,200
So the left hand side we have the category TV where for tablet.

18
00:01:11,430 --> 00:01:17,600
So in our case we are going to use the phone and you can specify the form that you're going to use.

19
00:01:17,640 --> 00:01:20,670
For example let's choose Nexus 6 right.

20
00:01:21,440 --> 00:01:28,560
And then you have this Galaxy Nexus and then we can click on next after you have selected the device.

21
00:01:28,660 --> 00:01:30,620
Just click on next.

22
00:01:31,000 --> 00:01:38,110
And now you can you need to specify the Android operating system version that you want to run on the

23
00:01:38,440 --> 00:01:39,350
emulator.

24
00:01:39,490 --> 00:01:40,700
We have the audio.

25
00:01:40,820 --> 00:01:43,790
Not or the marshmallow lollipop.

26
00:01:44,110 --> 00:01:52,130
So we already downloaded the order you write this is that image or you can see it has Google API.

27
00:01:52,180 --> 00:01:52,940
Right.

28
00:01:53,470 --> 00:02:01,200
And if I select this one and then click on next here you can specify some other settings but you don't

29
00:02:01,200 --> 00:02:05,910
have to do that because the cities are actually already specified for you.

30
00:02:05,940 --> 00:02:08,760
We have to show advanced settings here.

31
00:02:09,670 --> 00:02:15,050
They are already actually done for you and you just literally can't finish.

32
00:02:15,100 --> 00:02:17,990
And then your emulator is ready.

33
00:02:18,010 --> 00:02:19,710
So they me click can cancel.

34
00:02:20,140 --> 00:02:23,520
I know the app is ready let me show you the emulator.

35
00:02:23,620 --> 00:02:25,230
So here it is the emulator.

36
00:02:25,230 --> 00:02:30,640
You can see now that we have this label here my calculator.

37
00:02:30,760 --> 00:02:35,090
So inside this and open office find this label is specified here.

38
00:02:35,470 --> 00:02:38,020
We have this down icon.

39
00:02:38,020 --> 00:02:44,020
So it is that for example the icon of our application should be lound.

40
00:02:44,050 --> 00:02:50,470
So let me show you the emulator as you can see all of these images that we have here are rounded the

41
00:02:50,520 --> 00:02:51,730
icon is around it.

42
00:02:51,730 --> 00:02:52,680
Right.

43
00:02:52,750 --> 00:02:54,840
So let me go back to you.

44
00:02:55,030 --> 00:03:02,200
So if you have some other attributes here but we have this fun and Rufin So we have this film attribute

45
00:03:02,200 --> 00:03:06,030
it says at science style slash at Fien.

46
00:03:06,060 --> 00:03:14,320
So this means that we can change the theme of the application how by using the style that exemplified.

47
00:03:14,800 --> 00:03:16,890
So take a look at this and review here.

48
00:03:16,900 --> 00:03:22,450
We have this job a folder that contains our coats our Java codes and we have this one is rest for that.

49
00:03:22,510 --> 00:03:30,340
Let's open it and we have this draw Ebele folder that can contain the resources of the calculator app

50
00:03:30,340 --> 00:03:34,220
here so we can actually store our images here inside this trouble for that.

51
00:03:34,220 --> 00:03:36,110
We're going to use this one later.

52
00:03:36,130 --> 00:03:37,700
So let me close it.

53
00:03:37,750 --> 00:03:42,010
We have this layout file that contains XML files the layouts.

54
00:03:42,010 --> 00:03:47,450
We have this map from a map folder that contains the image icons of the application.

55
00:03:47,470 --> 00:03:53,740
So if you look at this android manifest file it says for example I can attribute it is referring to

56
00:03:53,740 --> 00:03:58,870
this find at sign me map slash I see Lanter right this folder.

57
00:03:59,230 --> 00:04:03,350
Let me close it and we have this one these values folder.

58
00:04:03,720 --> 00:04:07,370
We have the colors that exemplified let me double click on this file.

59
00:04:07,870 --> 00:04:14,670
So let me close other files here so that we can we have only the colors that will fit this color so

60
00:04:14,670 --> 00:04:16,800
there is a fight here.

61
00:04:16,810 --> 00:04:22,520
This file contains the colors that we can actually literally.

62
00:04:23,030 --> 00:04:28,540
For our application so we can actually some create some colors here and later in our application we

63
00:04:28,540 --> 00:04:30,180
can refer to the names.

64
00:04:30,280 --> 00:04:34,870
So you can see that each pack has a name and the actual value.

65
00:04:35,140 --> 00:04:37,070
And then we can use these colors.

66
00:04:37,180 --> 00:04:44,170
We have the color primary color primary dark and color X and these three attributes are very important

67
00:04:44,680 --> 00:04:48,070
for Android and the material design.

68
00:04:48,230 --> 00:04:53,210
And we have these strings that exemplified that contains their string resources you already know about

69
00:04:53,240 --> 00:04:53,960
this one.

70
00:04:53,960 --> 00:04:58,950
And we have this one styles that exemplifies that mutable this why.

71
00:04:59,210 --> 00:05:01,710
Let me quickly turn this up in order to make this area wider.

72
00:05:01,730 --> 00:05:08,540
But let me actually finish this with you now because I want to in the next story I'm going to actually

73
00:05:08,540 --> 00:05:16,100
explain how this standard axiom of Pi and these colors that exemplify defines the type of the application

74
00:05:16,100 --> 00:05:18,110
the theme of the application.

75
00:05:18,500 --> 00:05:22,590
So thank you very much for watching and I will look forward to seeing you in the next tutorial.

