1
00:00:00,180 --> 00:00:06,480
Hire everyone in this theater all we're going to go ahead and create another Android application.

2
00:00:06,480 --> 00:00:07,400
So just click on this.

3
00:00:07,440 --> 00:00:14,390
Start in your Android studio project and then for the application name just type in here app 25.

4
00:00:14,600 --> 00:00:15,270
OK.

5
00:00:15,480 --> 00:00:17,430
And then click on next here.

6
00:00:17,430 --> 00:00:17,840
Choose.

7
00:00:17,850 --> 00:00:26,340
AP Are 16 Android 4.1 Jelly Bean for minimum STK next blank activity next.

8
00:00:26,460 --> 00:00:27,980
And here click on finish.

9
00:00:28,050 --> 00:00:28,630
OK.

10
00:00:28,740 --> 00:00:30,990
Now let's actually select this hello world.

11
00:00:31,020 --> 00:00:36,720
It takes you here and then press on delete key on your keyboard and then double click on this arrest

12
00:00:36,720 --> 00:00:37,730
folder here.

13
00:00:37,950 --> 00:00:43,950
Lay out activity underline make that example and then select this floating action button here and then

14
00:00:43,950 --> 00:00:45,750
press on delete key on your keyboard.

15
00:00:45,750 --> 00:00:46,280
OK.

16
00:00:46,620 --> 00:00:52,050
So let's go back inside this content underline minute examine and then double click on this tab here.

17
00:00:52,050 --> 00:00:56,210
So now we want to actually design the user interface of our application.

18
00:00:56,220 --> 00:00:56,710
OK.

19
00:00:56,790 --> 00:01:03,420
So first of all when it actually linearly out vertical here as you can see select this and put it at

20
00:01:03,420 --> 00:01:05,720
the center of this relatively out here.

21
00:01:05,730 --> 00:01:06,770
OK.

22
00:01:07,000 --> 00:01:15,670
And now let's actually select these large takes here and put it at the center of these linearly left

23
00:01:15,730 --> 00:01:18,950
vertical here and double click on it.

24
00:01:18,990 --> 00:01:23,930
And for the text just type in here this is an array of double values.

25
00:01:23,940 --> 00:01:24,350
OK.

26
00:01:24,450 --> 00:01:30,380
This is an array of double values column and then press on Enter key on your keyboard.

27
00:01:30,390 --> 00:01:31,120
OK.

28
00:01:31,460 --> 00:01:39,340
And now let's actually select a horizontal scroll view here as you can see and put it inside this linearly

29
00:01:39,340 --> 00:01:43,050
and vertical and at the center of this linearly arithmetical.

30
00:01:43,050 --> 00:01:50,620
Here and here as you can see selects the layout of each of these horizontal scroll view here.

31
00:01:51,030 --> 00:02:00,300
And as you can see are assigned the value for example rap content as you can see here are selectees

32
00:02:00,340 --> 00:02:05,420
that content here for the left of this horizontal scale view here.

33
00:02:06,180 --> 00:02:13,590
And for the length height again I select the wrap content for the height of this horizontal scroll view

34
00:02:13,590 --> 00:02:14,090
here.

35
00:02:14,240 --> 00:02:15,200
OK.

36
00:02:15,570 --> 00:02:23,480
And then let's actually select a large text view and put it inside this horizontal scroll view here.

37
00:02:23,550 --> 00:02:24,210
OK.

38
00:02:24,660 --> 00:02:29,150
And then double click on it and delete the text of this takes you.

39
00:02:29,250 --> 00:02:35,480
And for the ID just type in here the array double values.

40
00:02:35,490 --> 00:02:36,000
OK.

41
00:02:36,330 --> 00:02:38,050
Double values.

42
00:02:38,580 --> 00:02:40,810
And that person enter the key on your keyboard.

43
00:02:40,970 --> 00:02:41,710
OK.

44
00:02:42,150 --> 00:02:46,800
And now let's actually select this horizontal scroll view here.

45
00:02:47,190 --> 00:02:53,090
And then let's assign the value of 50 for the left height of these horizontal scroll view.

46
00:02:53,370 --> 00:02:54,550
OK.

47
00:02:55,170 --> 00:03:01,540
And then let's actually select and there are large stakes here and put it inside.

48
00:03:01,610 --> 00:03:06,530
This is actually a vertical linearly two as you can here.

49
00:03:06,990 --> 00:03:14,400
And then double click on it and for the text just type in here this is an array of integer numbers.

50
00:03:14,460 --> 00:03:20,380
OK this is an array of integer numbers colon and then press on Enter key on your keyboard.

51
00:03:20,700 --> 00:03:26,850
So now let's actually select this horizontal scroll view here and put it inside.

52
00:03:26,850 --> 00:03:30,280
These are actually linearly alphabetical here.

53
00:03:30,300 --> 00:03:30,510
OK.

54
00:03:30,550 --> 00:03:35,980
At the center of this linearly are two vertical and again for the left.

55
00:03:36,030 --> 00:03:39,960
Assign the value actually right content here.

56
00:03:40,440 --> 00:03:42,770
And for the layout height is the value 50.

57
00:03:42,920 --> 00:03:44,010
OK.

58
00:03:44,640 --> 00:03:52,590
And then let's actually select this large text view here and put it inside this horizontal scroll view

59
00:03:52,590 --> 00:03:53,040
here.

60
00:03:53,130 --> 00:03:53,820
OK.

61
00:03:54,090 --> 00:03:59,610
And then double click on it and delete the text of this text for you and for the ID just type in here

62
00:03:59,640 --> 00:04:07,930
takes the integer numbers Arrey or the X the Auret integer numbers.

63
00:04:09,190 --> 00:04:13,760
OK and then press enter key on your keyboard.

64
00:04:13,860 --> 00:04:14,710
OK.

65
00:04:15,120 --> 00:04:23,820
So let's actually now select this large stakes here and put it at the center of this linearly alphabetical

66
00:04:23,820 --> 00:04:26,630
here and then double click on it.

67
00:04:26,800 --> 00:04:32,230
And for the text just type in here this is an end of a one.

68
00:04:32,340 --> 00:04:33,040
OK.

69
00:04:33,360 --> 00:04:45,120
Or this is it's a one OK colon and then press enter key on your keyboard and then this actually select

70
00:04:45,300 --> 00:04:52,170
this horizontal scroll view here as you can see we have this horizontal scroll view here and then put

71
00:04:52,170 --> 00:04:57,020
it inside this linearly and vertical at the center of this linearly and vertical.

72
00:04:57,050 --> 00:04:57,930
OK.

73
00:04:58,170 --> 00:05:05,350
And for the lay out we assign the value of our content and for the length height assigned a value 50.

74
00:05:05,630 --> 00:05:06,600
OK.

75
00:05:07,320 --> 00:05:13,070
Now let's actually write a large text view into this horizontal scroll view here.

76
00:05:13,410 --> 00:05:16,710
Double click on it deletes the text of this text.

77
00:05:16,800 --> 00:05:22,760
And for the ID just type in here TXI the end of a one.

78
00:05:22,880 --> 00:05:23,500
OK.

79
00:05:23,730 --> 00:05:26,610
And then press Enter key on your keyboard.

80
00:05:26,610 --> 00:05:36,350
Now let's actually select this large text view here OK and put it inside this linearly outward sequence

81
00:05:36,360 --> 00:05:42,340
here as you can see it at the center of this linearly at where circle and double click on it.

82
00:05:42,540 --> 00:05:43,240
OK.

83
00:05:43,650 --> 00:05:46,800
And for the text just a here this is.

84
00:05:47,310 --> 00:05:51,130
This is OK in one copy.

85
00:05:51,150 --> 00:05:51,470
OK.

86
00:05:51,500 --> 00:05:57,310
And every one copy and then our colon.

87
00:05:57,410 --> 00:05:57,660
OK.

88
00:05:57,670 --> 00:06:03,020
Put a column at the at the end of this text here and then press on Enter key on your keyboard.

89
00:06:03,120 --> 00:06:11,860
OK so now let's actually this time it's actually drag and other logistics to you and put it below this

90
00:06:12,040 --> 00:06:14,610
takes you here w the Chinese.

91
00:06:14,910 --> 00:06:15,400
OK.

92
00:06:15,560 --> 00:06:23,500
The read the text of the stakes for you and for the idea just taping here takes the int array one copy

93
00:06:24,670 --> 00:06:27,390
and then press on Enter key on your keyboard.

94
00:06:27,730 --> 00:06:32,260
OK so now let's actually select this switch here.

95
00:06:32,350 --> 00:06:32,970
OK.

96
00:06:33,070 --> 00:06:39,520
You have the switch here and put it below this takes you here at the center of this linearly and vertical

97
00:06:39,520 --> 00:06:43,860
here and then as you can see if I double click on it here.

98
00:06:44,020 --> 00:06:48,260
Now this switch here has actually a text attribute.

99
00:06:48,460 --> 00:06:51,640
So let's actually delete the text of this switch here.

100
00:06:52,060 --> 00:07:00,570
And for the ID just type in here s w t equal and then press on Enter key on your keyboard.

101
00:07:00,760 --> 00:07:01,530
OK.

102
00:07:01,960 --> 00:07:06,950
Now it is actually a drag and other large text view here.

103
00:07:07,120 --> 00:07:09,300
Below it is a switch here.

104
00:07:09,700 --> 00:07:11,040
And double click on it.

105
00:07:11,200 --> 00:07:16,750
And for the text just type in here the location of our element.

106
00:07:16,750 --> 00:07:17,180
OK.

107
00:07:17,260 --> 00:07:25,960
Of our Aure element and then press enter key on your keyboard.

108
00:07:26,160 --> 00:07:26,810
OK.

109
00:07:27,130 --> 00:07:30,890
And then let's actually select this large stakes here and put it below.

110
00:07:30,910 --> 00:07:35,910
This takes you here and at the center of this linearly as vertical here.

111
00:07:35,920 --> 00:07:36,540
OK.

112
00:07:36,820 --> 00:07:38,220
Double click on it.

113
00:07:38,240 --> 00:07:48,100
Delete the takes of this text view and for the ID just type it here takes the location of a element

114
00:07:49,900 --> 00:07:52,380
and then press enter key on your keyboard.

115
00:07:52,420 --> 00:07:53,170
OK.

116
00:07:53,770 --> 00:07:59,930
So now let's actually go back inside this main activity that double file here and delete these are takes

117
00:07:59,940 --> 00:08:00,610
abuse.

118
00:08:00,640 --> 00:08:05,610
These are text that are actually related to the menu options button here.

119
00:08:05,740 --> 00:08:06,610
OK.

120
00:08:07,300 --> 00:08:13,900
And then let's actually delete this block of code that is related to the floating action button.

121
00:08:14,290 --> 00:08:17,170
And now we can actually put in our own codes here.

122
00:08:17,200 --> 00:08:20,830
Now I'm going to actually paste in some lines of code here.

123
00:08:20,910 --> 00:08:21,200
OK.

124
00:08:21,220 --> 00:08:23,080
And then I'll explain to you what's going on here.

125
00:08:23,080 --> 00:08:23,780
OK.

126
00:08:24,250 --> 00:08:30,640
So here as you can see I created some text objects here and then I created an object from these.

127
00:08:30,660 --> 00:08:31,890
So each class here.

128
00:08:32,140 --> 00:08:39,730
So as you can see in line 19 here I created an object from this textbook class takes the RTW values

129
00:08:40,000 --> 00:08:44,630
and here are the first to this ID DXi R8 double values.

130
00:08:44,630 --> 00:08:51,580
Again I created another object from the States view class the X the numbers are a T X the at integer

131
00:08:51,580 --> 00:08:52,450
numbers here.

132
00:08:52,510 --> 00:08:56,820
This ID takes you to the end of a one.

133
00:08:57,220 --> 00:09:03,870
And here I'll refer to this as a tool is actually Id r that Id itx the end at a 1.

134
00:09:03,910 --> 00:09:10,600
I actually created another object from this text view class here and here I referred to this ID or that

135
00:09:10,690 --> 00:09:13,470
Id RTX the end of a one copy.

136
00:09:13,930 --> 00:09:20,440
And here I actually created another object from this text for your class TXI the location of R8 element.

137
00:09:20,710 --> 00:09:28,150
And here I referred to this itx the location add a element and then I actually created an object from

138
00:09:28,150 --> 00:09:34,110
the switch class S.W.A.T. Ikhwan and an ID for this ID it's W.T. equal.

139
00:09:34,150 --> 00:09:39,280
OK so now let's actually putting some lines of code here.

140
00:09:39,280 --> 00:09:45,910
First of all let's actually create an array of double values so as against a here I created an array

141
00:09:45,910 --> 00:09:49,790
of double values here the data type of my arrow is double.

142
00:09:49,870 --> 00:09:55,610
And here I specify that I want to actually create a one dimensional array here by putting up a pair

143
00:09:55,740 --> 00:09:56,970
of brackets here.

144
00:09:57,400 --> 00:10:01,460
And then here this is the name of my at AWB values array.

145
00:10:01,750 --> 00:10:06,810
And as you can see here I actually instantiated this at a by assigning these values to this at.

146
00:10:06,820 --> 00:10:07,280
OK.

