1
00:00:00,660 --> 00:00:10,620
Let's actually create again or create a comment OK Fox or Fox and then let's actually create a boolean

2
00:00:10,630 --> 00:00:18,920
valuable so boolean false or false assignment operator.

3
00:00:19,140 --> 00:00:26,690
Now let's actually create a boolean expression here false or false.

4
00:00:27,130 --> 00:00:31,600
OK and then let's actually create an if statement here.

5
00:00:31,620 --> 00:00:37,290
If the value of this false or false variable is true.

6
00:00:37,770 --> 00:00:44,100
OK if the value that is assigned to the is false or false variable is true then execute this line of

7
00:00:44,100 --> 00:00:46,680
code inside these curly braces of these.

8
00:00:46,860 --> 00:00:48,030
Of this IIF statement.

9
00:00:48,040 --> 00:00:48,520
OK.

10
00:00:48,570 --> 00:00:56,670
So if the value of this false or false variable is true then execute this line of code here checks false

11
00:00:57,090 --> 00:00:58,780
or false.

12
00:00:59,040 --> 00:01:02,240
Yes that said checked.

13
00:01:02,370 --> 00:01:03,180
True.

14
00:01:03,770 --> 00:01:04,160
OK.

15
00:01:04,170 --> 00:01:11,440
Otherwise else if the value of this false or false variable is false.

16
00:01:11,930 --> 00:01:15,330
OK so we need to put an exclamation mark here.

17
00:01:15,840 --> 00:01:21,160
If the value of these false or false variable is false.

18
00:01:21,420 --> 00:01:28,200
OK we put these exclamation marks here in order in order to negate the value of this variable.

19
00:01:28,200 --> 00:01:28,790
OK.

20
00:01:29,220 --> 00:01:37,960
So if the value of this variable is false so execute this line of code inside of these curly braces

21
00:01:38,240 --> 00:01:40,590
X Files or false.

22
00:01:40,590 --> 00:01:43,240
No that said checked.

23
00:01:43,350 --> 00:01:44,450
True.

24
00:01:45,170 --> 00:01:50,140
OK so now let's actually run our project and see the results.

25
00:01:50,190 --> 00:01:57,540
So as you can see here the value of this false or false variable is actually false because there's no

26
00:01:57,540 --> 00:01:59,570
checkbox is actually checked on.

27
00:01:59,610 --> 00:02:00,220
OK.

28
00:02:00,600 --> 00:02:04,240
So the value of this checkbox is actually true.

29
00:02:04,260 --> 00:02:08,640
So here we actually created a variable called false or false.

30
00:02:08,700 --> 00:02:12,870
And then we assigned this expression to our variable funds or false.

31
00:02:12,870 --> 00:02:16,820
So the result of this expression is actually assigned to this variable.

32
00:02:17,040 --> 00:02:24,950
And here we checked if the value of this false or false value bet is actually true then execute this

33
00:02:24,960 --> 00:02:26,070
line of code here.

34
00:02:26,130 --> 00:02:29,340
So our C-h x false or false.

35
00:02:29,430 --> 00:02:30,140
Yes.

36
00:02:30,150 --> 00:02:34,470
Which is actually related to this component to this checkbox that said check.

37
00:02:34,480 --> 00:02:41,020
True if the value of these false or false variable is true then actually check this checkbox here.

38
00:02:41,020 --> 00:02:48,420
Otherwise if the value of this false or false variable is actually false then execute this line of code

39
00:02:48,420 --> 00:02:48,860
here.

40
00:02:48,980 --> 00:02:51,910
C-h x false or false no.

41
00:02:52,050 --> 00:02:55,530
Which is related to this checkbox that said checked too.

42
00:02:55,830 --> 00:02:59,740
So as you can see here the value of this checkbox is actually true.

43
00:02:59,940 --> 00:03:02,460
OK this checkbox is checked on.

44
00:03:02,610 --> 00:03:03,320
OK.

45
00:03:03,630 --> 00:03:10,990
So let's again actually comment out this if else statement here and here we can't just type in C-h x

46
00:03:11,400 --> 00:03:13,870
false or false.

47
00:03:14,040 --> 00:03:14,640
Yes.

48
00:03:14,670 --> 00:03:16,540
That said check it.

49
00:03:16,710 --> 00:03:22,910
And here I can just put in a pair of round brackets and then again just refer to the name of this variable

50
00:03:22,920 --> 00:03:25,110
false or false.

51
00:03:25,570 --> 00:03:31,190
OK question mark true Colan false.

52
00:03:31,620 --> 00:03:31,890
OK.

53
00:03:31,900 --> 00:03:39,560
And this means if the value of this false or false variable is actually true then assign the value true

54
00:03:39,580 --> 00:03:42,580
to this C-h x false or false.

55
00:03:42,580 --> 00:03:43,950
Yes.

56
00:03:44,140 --> 00:03:48,940
Otherwise assign the value false to what is said checked method that is related to this object.

57
00:03:48,940 --> 00:03:49,910
OK.

58
00:03:50,440 --> 00:03:54,610
Again I can't just type in checks false or false.

59
00:03:54,610 --> 00:03:55,080
No.

60
00:03:55,110 --> 00:03:56,910
That said check it.

61
00:03:57,190 --> 00:04:03,490
And here I can't just put in a pair of round brackets and inside Apprentice's I need to put in an exclamation

62
00:04:03,490 --> 00:04:08,570
mark fonts or fonts.

63
00:04:09,490 --> 00:04:10,570
OK question mark.

64
00:04:10,580 --> 00:04:14,510
True otherwise false.

65
00:04:15,670 --> 00:04:22,630
So here I am just saying that if the value of these false or false value is actually false then assign

66
00:04:22,630 --> 00:04:27,820
the value true to this method which is actually related to this object.

67
00:04:27,880 --> 00:04:33,470
Otherwise assign the value false to this said checked Mefford that is related to this.

68
00:04:33,490 --> 00:04:35,630
See it's a false or false no object.

69
00:04:35,650 --> 00:04:36,270
OK.

70
00:04:36,490 --> 00:04:44,800
If the value of these are false or false value is actually true assign the value false to this object.

71
00:04:44,950 --> 00:04:48,810
So it is actually on our project again and see the results again.

72
00:04:49,180 --> 00:04:57,790
So as you can see here false or false as you can see the value of this false or false value is no actually

73
00:04:57,790 --> 00:04:58,770
is false.

74
00:04:58,780 --> 00:04:59,430
OK.

75
00:04:59,800 --> 00:05:02,900
This checkbox this no check box is actually checked on.

76
00:05:02,920 --> 00:05:06,810
This is the result of execution of this line of code here.

77
00:05:06,820 --> 00:05:07,380
OK.

78
00:05:07,600 --> 00:05:12,490
Because the value of this false or false value is actually false.

79
00:05:12,520 --> 00:05:16,470
So it is actually assigning the value true to this check box here.

80
00:05:16,550 --> 00:05:17,480
OK.

81
00:05:17,710 --> 00:05:19,710
So hopefully that makes sense.

82
00:05:20,080 --> 00:05:24,450
And let's actually go back go inside this content underline minute example.

83
00:05:25,000 --> 00:05:30,400
And by the way if you have any questions regarding these concepts that they actually that I am actually

84
00:05:30,400 --> 00:05:36,160
teaching you are make sure that you actually posted discussion in the course or you can actually Message

85
00:05:36,160 --> 00:05:41,060
me directly and I'll do my best to answer your questions.

86
00:05:41,080 --> 00:05:41,750
OK.

87
00:05:42,130 --> 00:05:45,010
So let's actually close this linearly out horizontal.

88
00:05:45,160 --> 00:05:51,410
Let's actually track and order linearly out horizontally into this linearly outwards.

89
00:05:51,700 --> 00:05:58,810
So just click on this linearly or horizontally and then you can just put it inside this linearly out

90
00:05:58,810 --> 00:06:00,000
vertical here.

91
00:06:00,010 --> 00:06:03,820
Write a large text view into this linearly and horizontal.

92
00:06:03,820 --> 00:06:06,850
So you can either put it here or you can actually.

93
00:06:06,880 --> 00:06:12,970
So you can either put it inside this linearly out here inside the screen or you can actually put it

94
00:06:12,970 --> 00:06:13,500
here.

95
00:06:13,710 --> 00:06:13,960
OK.

96
00:06:13,960 --> 00:06:17,260
Inside these are componentry as you can see here.

97
00:06:17,350 --> 00:06:18,330
OK.

98
00:06:18,970 --> 00:06:25,690
So let's actually double click on this text view here and then let's actually give our text to this

99
00:06:25,690 --> 00:06:26,610
text view.

100
00:06:26,920 --> 00:06:28,240
So just type in here.

101
00:06:28,260 --> 00:06:31,750
True carrot operator.

102
00:06:31,790 --> 00:06:32,990
True.

103
00:06:33,880 --> 00:06:34,370
OK.

104
00:06:34,420 --> 00:06:41,660
And let's actually track another checkbox into this linearly out horizontal.

105
00:06:42,130 --> 00:06:46,330
Double click on this checkbox for the text just type in here yes.

106
00:06:46,570 --> 00:06:53,790
And for the ID just type in here C-h X through it's true.

107
00:06:54,580 --> 00:06:55,270
Yes.

108
00:06:55,390 --> 00:06:56,120
OK.

109
00:06:56,440 --> 00:07:00,220
Again let's actually write another checkbox into this linearly out.

110
00:07:00,280 --> 00:07:05,230
Double click on it for the text just typing no for the ID just type in here.

111
00:07:05,320 --> 00:07:07,300
See it checks through.

112
00:07:07,690 --> 00:07:10,370
Chad it true.

113
00:07:10,750 --> 00:07:12,230
No.

114
00:07:13,210 --> 00:07:21,310
And let's actually click click on this linear layout and here check this checkbox of this center underline

115
00:07:21,310 --> 00:07:25,060
horizontal that is related to the script gravity attribute.

116
00:07:25,060 --> 00:07:25,930
OK.

117
00:07:26,470 --> 00:07:27,890
So check this checkbox.

118
00:07:27,910 --> 00:07:33,150
And as you can see these components are actually positioned at the center of this linearly.

119
00:07:33,160 --> 00:07:33,930
OK.

120
00:07:34,240 --> 00:07:35,700
So hopefully that makes sense.

121
00:07:35,830 --> 00:07:36,400
OK.

122
00:07:36,430 --> 00:07:40,780
Now let's actually go back inside this main activity that java file here.

123
00:07:40,960 --> 00:07:43,330
And let's actually scroll to the top of the screen.

124
00:07:44,080 --> 00:07:48,250
And here they actually create a comment.

125
00:07:48,460 --> 00:07:49,090
OK.

126
00:07:49,220 --> 00:07:50,990
True Chad.

127
00:07:51,010 --> 00:07:58,270
Operator OK remember to hold the shift key and then press and number 6 on your keyboard in order to

128
00:07:58,270 --> 00:07:59,560
actually create a card.

129
00:07:59,560 --> 00:08:00,910
OPERATOR OK.

130
00:08:00,910 --> 00:08:01,660
So true.

131
00:08:01,720 --> 00:08:02,290
Operator.

132
00:08:02,290 --> 00:08:03,480
True.

133
00:08:03,650 --> 00:08:07,490
Let's actually create a checkbox object to see x.

134
00:08:07,690 --> 00:08:11,320
True Carrott true.

135
00:08:11,660 --> 00:08:23,860
Assignment operator check box find view by ID or that Id dot C-h X true charites true.

136
00:08:23,890 --> 00:08:34,540
Yes and I forgot to put vote yes here at the end of my checkbox object name it's actually create another

137
00:08:34,540 --> 00:08:35,650
checkbox object here.

138
00:08:35,650 --> 00:08:43,730
Checkbooks see objects are two Carrott true.

139
00:08:44,230 --> 00:08:51,970
No assignment operator checkbox find view by ID or dot ID dot.

140
00:08:52,120 --> 00:08:55,250
See it checks to charity.

141
00:08:55,570 --> 00:08:56,850
True no.

142
00:08:57,260 --> 00:08:58,350
OK.

143
00:08:58,600 --> 00:09:00,700
So hopefully that makes sense.

144
00:09:01,180 --> 00:09:05,130
And let's actually scroll down the file here.

145
00:09:05,770 --> 00:09:11,670
And then this actually creates another comment to that operator.

146
00:09:11,800 --> 00:09:12,840
True.

147
00:09:13,430 --> 00:09:14,440
OK everyone.

148
00:09:14,440 --> 00:09:24,010
Now I can actually create a boolean variable and the name of this boolean variable is true CEdit true.

149
00:09:24,470 --> 00:09:24,960
OK.

150
00:09:25,080 --> 00:09:30,610
Assignment operator and then I would actually assign a boolean expression to this variable.

151
00:09:30,610 --> 00:09:30,950
OK.

152
00:09:30,970 --> 00:09:37,180
Now I can actually assign a boolean expression to this variable so I can just put in a pair of round

153
00:09:37,180 --> 00:09:44,230
brackets and then I can just type in here to carry true.

154
00:09:44,870 --> 00:09:50,320
OK and then I need to actually put in a semi-colon at the end of our statement.

155
00:09:50,350 --> 00:09:57,800
OK so now let's actually create of an IF statement here if true.

156
00:09:58,270 --> 00:10:06,880
It's true has the value true then execute this line of code inside of these curly braces OK.

157
00:10:06,960 --> 00:10:09,720
See it checks to try it.

158
00:10:09,720 --> 00:10:10,970
True yes.

159
00:10:11,040 --> 00:10:13,120
That said check it.

160
00:10:13,150 --> 00:10:16,420
True OK.

