1
00:00:00,450 --> 00:00:04,400
And asks you to go back inside this content underline minute example.

2
00:00:04,680 --> 00:00:11,790
And here let's actually dragging another linearly out horizontally into this linearly and vertical and

3
00:00:12,060 --> 00:00:16,010
dragging a large takes you into this linearly and horizontal.

4
00:00:16,560 --> 00:00:25,290
So as you can see here I made a mistake and I didn't put this takes you into the linearly or horizontal

5
00:00:25,410 --> 00:00:26,190
which is this.

6
00:00:26,190 --> 00:00:33,450
So I can just write this up this component and again just put it inside this linearly out horizontal

7
00:00:33,460 --> 00:00:33,940
OK.

8
00:00:33,960 --> 00:00:37,550
So as you can see here now this takes you inside.

9
00:00:37,610 --> 00:00:39,850
These are linearly and horizontal.

10
00:00:39,960 --> 00:00:49,370
So double click on this takes you here and for the text just type in here false carrots false.

11
00:00:50,030 --> 00:00:50,650
OK.

12
00:00:50,850 --> 00:00:58,600
And then let's actually write a check box beside this text view into the linearly or horizontal double

13
00:00:58,610 --> 00:00:59,490
click on it.

14
00:00:59,700 --> 00:01:07,710
And for the text just typing yes and for the ID just type in CLX false Traugott false.

15
00:01:08,340 --> 00:01:09,270
Yes.

16
00:01:09,650 --> 00:01:10,270
OK.

17
00:01:10,570 --> 00:01:11,300
That's actually right.

18
00:01:11,310 --> 00:01:18,290
And that takes you into this linearly horizontal double click on it for the text just typing no.

19
00:01:18,420 --> 00:01:27,170
And for the ID just type in C X fonts chart it follows no.

20
00:01:27,500 --> 00:01:28,230
OK.

21
00:01:28,520 --> 00:01:33,370
So as you can see here the idea of this checkbox is situates false scatted false.

22
00:01:33,380 --> 00:01:34,280
Yes.

23
00:01:34,610 --> 00:01:38,780
And the idea of this checkbox is c it takes false Carrott false no.

24
00:01:38,810 --> 00:01:39,890
OK.

25
00:01:39,890 --> 00:01:47,120
So click on these linearly and horizontal and for the center underline horizontal here as you can see

26
00:01:47,120 --> 00:01:51,730
check this checkbox as you can see this checkbox is related to this gravity attribute.

27
00:01:51,740 --> 00:01:52,510
OK.

28
00:01:52,610 --> 00:01:55,770
So let's actually go back and say this main activity that a fight here.

29
00:01:55,940 --> 00:01:56,900
OK everyone.

30
00:01:56,900 --> 00:02:00,150
Now let's actually scroll to the top of the file here.

31
00:02:00,650 --> 00:02:07,200
And this actually creates a comment false carrots false.

32
00:02:07,490 --> 00:02:08,020
OK.

33
00:02:08,360 --> 00:02:18,620
So let's actually create a checkbox object C is x false Carrot's false yes.

34
00:02:18,830 --> 00:02:20,250
Assignment operator.

35
00:02:20,330 --> 00:02:29,330
So now I need to actually cast this object into a checkbox object find view by id r that ID that X Files

36
00:02:30,000 --> 00:02:32,070
can it false.

37
00:02:32,450 --> 00:02:33,420
Yes.

38
00:02:33,830 --> 00:02:34,550
OK.

39
00:02:34,910 --> 00:02:44,980
Again I need to create another checkbox object that checks false Carrott false no assignment operator.

40
00:02:45,200 --> 00:02:52,220
And and here I need to actually cast this object into a checkbox object find view by id r that Id dot

41
00:02:52,660 --> 00:02:56,910
see it checks false Chad it's false.

42
00:02:56,960 --> 00:02:57,710
No.

43
00:02:58,120 --> 00:03:03,650
OK so now let's actually scroll to the bottom of the file.

44
00:03:04,410 --> 00:03:07,550
And now let's again actually create another comment.

45
00:03:07,550 --> 00:03:10,780
False carrot false.

46
00:03:10,940 --> 00:03:17,590
So now let's actually create a boolean variable and the name of our value but is false.

47
00:03:17,590 --> 00:03:19,410
Chad it's false.

48
00:03:19,790 --> 00:03:26,400
Assignment operator and I want to assign a boolean expression to this variable so I can just type in

49
00:03:26,400 --> 00:03:29,830
volas credit Fourth's.

50
00:03:30,190 --> 00:03:31,030
OK.

51
00:03:31,070 --> 00:03:39,110
So again as you can see here are these two values are not against each other the value of the two sides

52
00:03:39,200 --> 00:03:43,930
of this operator descanted operator are not against each other.

53
00:03:44,060 --> 00:03:48,090
So this expression is going to actually result in a false value.

54
00:03:48,230 --> 00:03:48,890
OK.

55
00:03:49,370 --> 00:03:53,920
Because we have a false value here and a false value here.

56
00:03:54,080 --> 00:04:00,140
So because we are using a carrot operator here this expression is going to actually result a false value

57
00:04:00,620 --> 00:04:07,640
because the two because the values of the two sides of this operator are not against each other and

58
00:04:07,880 --> 00:04:08,850
they are the same.

59
00:04:08,990 --> 00:04:12,080
So it is going to actually result in a false value.

60
00:04:12,080 --> 00:04:12,610
OK.

61
00:04:12,830 --> 00:04:16,050
And that false value is going to be assigned to this variable.

62
00:04:16,250 --> 00:04:16,710
OK.

63
00:04:16,760 --> 00:04:18,650
So hopefully that makes sense.

64
00:04:18,770 --> 00:04:22,070
And let's actually create an A-list statement here.

65
00:04:22,190 --> 00:04:31,450
So if the value of this false Carrot's false variable is actually true then execute this line of code

66
00:04:31,570 --> 00:04:35,460
here textfiles carrot false.

67
00:04:36,200 --> 00:04:38,810
Yes that said check it.

68
00:04:38,850 --> 00:04:39,840
True.

69
00:04:40,560 --> 00:04:41,310
OK.

70
00:04:41,340 --> 00:04:52,260
Otherwise LS If the value of this variable is actually false OK then executes this line of code here

71
00:04:52,310 --> 00:04:57,960
inside of these curly braces C checks false Carrott false.

72
00:04:58,090 --> 00:05:00,680
Note that said check it.

73
00:05:00,740 --> 00:05:01,980
True.

74
00:05:02,720 --> 00:05:05,770
So now let's actually run our project and see what happens.

75
00:05:05,870 --> 00:05:14,290
So as you can see here our the value of these false Carrott false variable is actually false.

76
00:05:14,620 --> 00:05:15,490
OK.

77
00:05:15,880 --> 00:05:24,220
So as I said before are these two values are the same the values of the of the two sides of this operator

78
00:05:24,520 --> 00:05:25,580
are actually the same.

79
00:05:25,630 --> 00:05:30,490
So this expression is going to result in a false value and that false value is going to be assigned

80
00:05:30,490 --> 00:05:31,810
to this valuable.

81
00:05:32,050 --> 00:05:35,340
And here we actually created an if statement.

82
00:05:35,560 --> 00:05:41,200
And here we said if the value of this false carrot false variable is true then execute this line of

83
00:05:41,200 --> 00:05:47,040
code and else if the value of this false kind of false variable is actually false then execute a huge

84
00:05:47,040 --> 00:05:48,190
design of code here.

85
00:05:48,190 --> 00:05:53,960
So as you can see here this line of code is actually get executed and this text box is actually true.

86
00:05:54,040 --> 00:05:56,280
OK the value of this checkbox is actually true.

87
00:05:56,350 --> 00:05:58,000
See the checks for scatted false.

88
00:05:58,000 --> 00:05:58,500
No.

89
00:05:58,710 --> 00:05:59,720
OK.

90
00:05:59,950 --> 00:06:01,550
So hopefully that makes sense.

91
00:06:01,600 --> 00:06:06,850
And let's actually comment out this if else statement here because I want to show you another way.

92
00:06:07,240 --> 00:06:13,940
In order to write these statements see X Files Carrot's false.

93
00:06:14,200 --> 00:06:14,770
Yes.

94
00:06:14,830 --> 00:06:21,100
That said check it and it's actually putting a pair of round brackets inside of these inside of these

95
00:06:21,100 --> 00:06:21,910
practices.

96
00:06:21,910 --> 00:06:30,880
I can't just refer to the name of this variable false Carrot's false questionmark true otherwise false.

97
00:06:31,540 --> 00:06:32,050
OK.

98
00:06:32,230 --> 00:06:37,930
And here I am saying if the if the value of this false data is false or valuable is actually true then

99
00:06:37,960 --> 00:06:42,290
assign the value true to the set to take effect that is related to this object.

100
00:06:42,310 --> 00:06:48,520
Otherwise if the value of this false Carrott false variable is actually false then assign the value

101
00:06:48,520 --> 00:06:52,050
false to the said Chicot MF'er that is related to this object.

102
00:06:52,060 --> 00:06:52,570
OK.

103
00:06:52,930 --> 00:06:59,120
So here I can just type in CFX false charites false.

104
00:06:59,200 --> 00:07:05,590
No that said checked and it's actually putting up around brackets.

105
00:07:05,590 --> 00:07:14,450
And inside the Prentice's I can just type in not false Carrott false here.

106
00:07:14,470 --> 00:07:19,660
And as you can see I am saying that if the value of this false Kerith false value is actually false

107
00:07:20,110 --> 00:07:26,060
then assign the value true to this asset check if it is related to this.

108
00:07:26,140 --> 00:07:34,690
See it takes up false Carrott false no object as you can see this checkbox here is related to this object.

109
00:07:34,700 --> 00:07:43,090
So and here I can just put in a call in otherwise for this and here I am saying that if the value of

110
00:07:43,090 --> 00:07:50,280
these false Carrot's false value is actually true then assign the value false to this set check if that

111
00:07:50,350 --> 00:07:56,570
is related to this false Carrott false no object which is related to this checkbox.

112
00:07:56,570 --> 00:07:57,030
OK.

113
00:07:57,160 --> 00:08:03,000
So because this value is actually false it is actually assigning the value true to this check and if

114
00:08:03,030 --> 00:08:04,760
it is related to this object.

115
00:08:04,810 --> 00:08:07,690
OK so the value of this check box is actually true.

116
00:08:07,690 --> 00:08:09,540
And this tick box is actually on.

117
00:08:09,560 --> 00:08:10,110
OK.

118
00:08:10,240 --> 00:08:15,350
So hopefully that makes sense and I think that's enough for this tutorial.

119
00:08:15,430 --> 00:08:19,770
If you have any questions please post the discussion in the course and then I'll do my best to answer

120
00:08:19,790 --> 00:08:21,210
your questions.

121
00:08:21,250 --> 00:08:25,780
So thank you very much for watching and I'll see you in the next tutorial.

