1
00:00:00,210 --> 00:00:06,240
Hi everyone in this story all we're going to go ahead and create another Android application.

2
00:00:06,270 --> 00:00:07,170
So just click on this.

3
00:00:07,200 --> 00:00:12,540
Start in your Android studio project here and then for the name of your application.

4
00:00:12,540 --> 00:00:23,060
Just type in here app 52 and then click on next and here choose AP 16 Android 4.1 bean for your minimum

5
00:00:23,070 --> 00:00:25,420
STK and then click on next.

6
00:00:25,860 --> 00:00:29,230
And then he had to empty activity next.

7
00:00:29,520 --> 00:00:31,430
And here don't change anything.

8
00:00:31,590 --> 00:00:34,180
And then we can finish.

9
00:00:34,240 --> 00:00:37,920
So now as you can see our project is actually created.

10
00:00:37,990 --> 00:00:41,470
So now it's actually designed to use an interface of our application.

11
00:00:41,470 --> 00:00:46,250
So just doubleclick on this red folder and then double click and this layout folder.

12
00:00:46,420 --> 00:00:50,070
And then here double click on this activity underline made that example.

13
00:00:50,140 --> 00:00:55,300
OK so now we don't actually designed the user interface of our application.

14
00:00:55,420 --> 00:00:59,340
So first of all let's actually delete this hello world text here.

15
00:00:59,380 --> 00:01:02,700
So just select it and press on delete key on your keyboard.

16
00:01:02,890 --> 00:01:09,820
So here let's actually derive a linearly out vertical at the center of this relatively out here as you

17
00:01:09,820 --> 00:01:10,820
can see.

18
00:01:11,260 --> 00:01:18,010
And then let's actually track linearly at horizontal at the center of this linearly as vertical.

19
00:01:18,010 --> 00:01:24,100
So just select this linearly as horizontal inside these layouts folder and then put it at the center

20
00:01:24,130 --> 00:01:26,810
of this linearly at vertical.

21
00:01:27,070 --> 00:01:32,610
And as you can see here the lay out of each of these linearly horizontally is actually much parent.

22
00:01:32,890 --> 00:01:34,630
And the layered height is set up content.

23
00:01:34,630 --> 00:01:36,450
OK this is really important.

24
00:01:36,490 --> 00:01:42,460
So now let's actually drag a large takes you into this linearly out horizontal here.

25
00:01:42,590 --> 00:01:43,240
OK.

26
00:01:43,810 --> 00:01:51,700
And double click on it and for the text just typing here type colon and then press Enter key on your

27
00:01:51,700 --> 00:01:58,470
keyboard and then let's actually track I another large takes you into this linearly or horizontal.

28
00:01:58,540 --> 00:02:04,970
So just select it and put it inside this linearly as horizontal and double click on it.

29
00:02:05,010 --> 00:02:11,960
Delete the text of this text view and for the OED to step in here takes the type and then click on and

30
00:02:12,020 --> 00:02:14,140
that person Enter key on your keyboard.

31
00:02:14,530 --> 00:02:21,150
So now let's actually to select both of these text views that are inside of this linearly or horizontally.

32
00:02:21,400 --> 00:02:29,860
So just select both of them and here for the layout we assign the value 0 and that person entered key

33
00:02:29,860 --> 00:02:30,510
on your keyboard.

34
00:02:30,520 --> 00:02:31,460
Right.

35
00:02:31,480 --> 00:02:33,200
And let's actually find out.

36
00:02:33,250 --> 00:02:33,840
Wait.

37
00:02:34,000 --> 00:02:39,250
So as you can see here this is the lead with weight attribute that is actually related to both of these

38
00:02:39,250 --> 00:02:44,970
takes views are key because they actually selected both of these takes viewers and I assigned the values

39
00:02:44,970 --> 00:02:47,960
0 for the lay out of this takes.

40
00:02:48,280 --> 00:02:51,850
And for that they have to wait assign the value 50.

41
00:02:51,850 --> 00:02:58,960
So now both of these are text views and actually take a half of the weight of their parent.

42
00:02:58,960 --> 00:03:04,720
So as you can see here this linearly has you can see here is actually the parent of these two takes

43
00:03:04,720 --> 00:03:10,840
views and I assign the values 0 4 to the health of these two takes views.

44
00:03:11,050 --> 00:03:16,010
And then I assign the value 50 for the lay out weight of these takes views.

45
00:03:16,030 --> 00:03:22,360
So now they're going to actually take a half of the vote of their parent as you can see here this linearly

46
00:03:22,360 --> 00:03:25,550
I swear to god right this linearly or horizontal.

47
00:03:25,660 --> 00:03:26,400
Right.

48
00:03:26,710 --> 00:03:33,110
So now let's actually track and are there linearly at horizontal into this linearly at vertical.

49
00:03:33,160 --> 00:03:40,750
So just select it and put it at the center of this linearly or 20 and below these are linearly linearly

50
00:03:40,750 --> 00:03:41,780
or horizontal here.

51
00:03:41,800 --> 00:03:42,370
OK.

52
00:03:42,520 --> 00:03:50,050
So just put it here and then let's actually drag a large takes you into this linearly and horizontal

53
00:03:50,050 --> 00:03:50,590
here.

54
00:03:50,620 --> 00:03:51,160
OK.

55
00:03:51,280 --> 00:03:57,100
As you can see inside this componentry section and just put it here inside this linearly are horizontal

56
00:03:57,940 --> 00:04:02,030
and now just double click on this takes view here.

57
00:04:02,200 --> 00:04:04,720
And for the text just type in here.

58
00:04:04,900 --> 00:04:13,310
Artist Name colon and then person enter key on your keyboard and then it's actually right and other

59
00:04:13,330 --> 00:04:21,240
large takes you into this linearly or horizontal here and then double click on it and deletes the text

60
00:04:21,240 --> 00:04:22,240
of this takes you.

61
00:04:22,270 --> 00:04:30,810
And for the idea just tape in here takes the artist name and then press Enter key on your keyboard.

62
00:04:31,120 --> 00:04:39,490
So now let's actually select both of these takes views and for the out we assign the values 0 and for

63
00:04:39,490 --> 00:04:43,260
them they have weight assigned a value of 50.

64
00:04:43,330 --> 00:04:49,660
So now as you can see these two takes views are going to take a half of the weight of this linearly

65
00:04:49,660 --> 00:04:52,980
out horizontal which is the parent of these takes views.

66
00:04:52,990 --> 00:04:54,350
Right.

67
00:04:54,370 --> 00:04:56,160
So hopefully that makes sense.

68
00:04:56,320 --> 00:05:03,250
And now let's write an orderly in the earlier horizontal into this linearly as vertical as you can see

69
00:05:03,250 --> 00:05:03,570
here.

70
00:05:03,580 --> 00:05:08,690
This is our lead linearly as vertical and put it below this linearly at horizontal OK.

71
00:05:08,710 --> 00:05:12,490
Just put it at the center of this linearly vertical.

72
00:05:12,830 --> 00:05:13,390
OK.

73
00:05:13,630 --> 00:05:20,220
And now it's actually there are large takes you into this linearly or horizontal here again.

74
00:05:20,230 --> 00:05:24,550
And now let's actually double click on this large text view.

75
00:05:24,730 --> 00:05:34,530
And for the text just type in here collection name and then put a colon here at the end of this text

76
00:05:34,530 --> 00:05:42,140
here and then press Enter key on your keyboard on your keyboard and then let's actually write another

77
00:05:42,150 --> 00:05:46,590
large text view into this linearly or horizontal here.

78
00:05:46,830 --> 00:05:50,840
Double click on it and delete the text of this text view.

79
00:05:50,880 --> 00:06:00,740
And for the idea just typing here takes the collection name and then person Enter key on your keyboard.

80
00:06:01,150 --> 00:06:08,010
So now let's actually write an order linearly out horizontally into this linearly or vertical.

81
00:06:08,110 --> 00:06:12,830
So just put it at the center of this linearly mathematical OK.

82
00:06:13,240 --> 00:06:20,590
And then let's actually track another large takes you into this linearly out horizontal here and then

83
00:06:20,830 --> 00:06:27,670
let's actually double click on this large stakes here and for the text just type in here thrax name

84
00:06:27,910 --> 00:06:29,410
and put a call in here.

85
00:06:29,500 --> 00:06:35,980
At the end of this text and then press Enter key on your keyboard keyboard and let's actually drag a

86
00:06:35,980 --> 00:06:42,610
large text you again into this linearly at horizontal here and double click on it and deletes the text

87
00:06:42,610 --> 00:06:43,560
of this text view.

88
00:06:43,600 --> 00:06:51,740
And for the idea just typing here takes the trash name and then person Enter key on your keyboard.

89
00:06:51,900 --> 00:06:54,080
So analysis try to select both of these.

90
00:06:54,200 --> 00:06:55,180
It takes views.

91
00:06:55,410 --> 00:06:58,200
And for that you have to be assigned a value zero.

92
00:06:58,650 --> 00:07:02,140
And for that they have weight assigned a value of 1.

93
00:07:02,790 --> 00:07:08,830
So now let's actually drag and either linearly or horizontally into these linearly as vertical.

94
00:07:08,840 --> 00:07:16,780
Here again let's actually to write a large text view into this linearly or horizontal here and doubleclick

95
00:07:16,840 --> 00:07:18,900
on the stakes here for the text.

96
00:07:18,900 --> 00:07:26,480
Just type in here kind Kallen kind colon and then press Enter key on your keyboard.

97
00:07:26,760 --> 00:07:32,620
And again let's actually do like and other large takes you into this linearly or horizontal here.

98
00:07:32,640 --> 00:07:33,450
OK.

99
00:07:33,870 --> 00:07:36,560
And double click on it for the text.

100
00:07:36,630 --> 00:07:43,520
Just delete the text of the stakeout view and for the ID to step in here takes the kind and then are

101
00:07:43,530 --> 00:07:46,850
present in Turkey on your keyboard.

102
00:07:46,860 --> 00:07:53,670
So now let's actually select both of these text views and for the we assign the value 0 and for the

103
00:07:53,720 --> 00:07:57,470
lay of weight assigned a value 50.

104
00:07:57,510 --> 00:08:02,270
So now let's actually track an image view here.

105
00:08:02,280 --> 00:08:04,440
As you can see inside these widgets folder.

106
00:08:04,620 --> 00:08:06,580
I have this image viewer component here.

107
00:08:06,600 --> 00:08:07,040
OK.

108
00:08:07,140 --> 00:08:12,430
Just select it and put it at the center of this linearly out vertical here.

109
00:08:12,540 --> 00:08:13,200
OK.

110
00:08:13,470 --> 00:08:16,630
And for the lay out we assign the value 200.

111
00:08:17,220 --> 00:08:19,650
And then they have a height assigned value.

112
00:08:19,750 --> 00:08:20,980
Two hundred.

113
00:08:20,970 --> 00:08:29,550
Here as you can see and then person enter key on your keyboard and then let's actually find this Margene

114
00:08:29,580 --> 00:08:33,200
attribute and for the Margene just assigned a value for the all.

115
00:08:33,390 --> 00:08:37,780
OK assign the value of 30 and then person enter key on your keyboard.

116
00:08:38,250 --> 00:08:44,870
And then as you can see here let's actually get a button into this linearly at vertical.

117
00:08:45,000 --> 00:08:46,630
So as you can see here this is our pattern.

118
00:08:46,650 --> 00:08:52,160
Inside this widgets folder just select it and put it below this image view here.

119
00:08:52,530 --> 00:08:59,040
And for the layout we'd assigned a value match parent here as you can see just select this button here

120
00:08:59,700 --> 00:09:03,870
and assign the value match parent and double click on this button here.

121
00:09:04,080 --> 00:09:09,860
And for the text just type here to get the data get the adjacent data

122
00:09:13,270 --> 00:09:14,190
from the Internet

123
00:09:18,400 --> 00:09:27,790
and then after the ID just type in here between gets data and then press on Enter key on your keyboard.

124
00:09:27,790 --> 00:09:34,060
So now the design of our use and use the user interface is actually finished but now I want to talk

125
00:09:34,060 --> 00:09:38,790
about Jason and how to get Jason data from the Internet.

126
00:09:38,810 --> 00:09:47,010
So now let's actually open our web browser so as you can see here this is my web browser and into Google.

127
00:09:47,010 --> 00:09:52,900
Just search for iTunes Web service and then press on entelechy on your keyboard and then you will be

128
00:09:52,900 --> 00:09:54,440
guided to put this page.

129
00:09:54,700 --> 00:09:57,740
So as you can see here we have this first link here.

130
00:09:57,780 --> 00:10:00,820
Just click on this first link here that appears on the screen.

