1
00:00:00,200 --> 00:00:06,580
Hire everyone in this tutorial we're going to go ahead and create another Android application.

2
00:00:06,600 --> 00:00:07,820
So just click on this.

3
00:00:07,860 --> 00:00:10,480
Start in your Android studio project.

4
00:00:10,680 --> 00:00:11,150
OK.

5
00:00:11,220 --> 00:00:16,480
And now we need to actually specify a name for our application name here.

6
00:00:16,500 --> 00:00:19,980
As you can see so just type in your app 22.

7
00:00:20,220 --> 00:00:20,910
OK.

8
00:00:21,270 --> 00:00:23,320
And then click on next here.

9
00:00:23,350 --> 00:00:28,790
Choose API 16 Android 4.1 Jelly Bean for minimum STK.

10
00:00:28,890 --> 00:00:32,650
And then the next plant activity next.

11
00:00:32,880 --> 00:00:34,320
And then click on finish.

12
00:00:34,320 --> 00:00:35,310
OK.

13
00:00:35,950 --> 00:00:36,490
OK.

14
00:00:36,570 --> 00:00:43,110
Now let's actually select this hello or takes you here and then press on delete key on your keyboard.

15
00:00:43,320 --> 00:00:46,210
So now let's actually go inside this arrest folder here.

16
00:00:46,380 --> 00:00:53,160
And then inside this layout folder and double click on this activity the line made the same and here

17
00:00:53,760 --> 00:00:56,790
and then select this floating action button here.

18
00:00:56,790 --> 00:00:57,290
OK.

19
00:00:57,450 --> 00:00:59,830
And then press on it here on your keyboard.

20
00:01:00,240 --> 00:01:04,480
So now let's actually go back and say this content on the line that made that example.

21
00:01:04,650 --> 00:01:09,020
And here we can actually design the user interface of our application.

22
00:01:09,150 --> 00:01:09,650
OK.

23
00:01:09,780 --> 00:01:14,620
So in order to actually design the user interface of an application.

24
00:01:14,910 --> 00:01:20,820
First of all we need to actually track a linearly Ellsworthy code at the center of this relatively out

25
00:01:20,820 --> 00:01:21,340
here.

26
00:01:21,410 --> 00:01:22,260
OK.

27
00:01:22,470 --> 00:01:29,090
And then let's actually drag a linearly or horizontal into this linearly and vertical here.

28
00:01:29,240 --> 00:01:29,930
OK.

29
00:01:30,210 --> 00:01:36,380
And now let's actually find the horizontal scroll view here as you can see here.

30
00:01:36,480 --> 00:01:42,800
Just select this up scroll view here and put it inside this linearly out horizontal.

31
00:01:42,900 --> 00:01:51,430
OK so now let's actually drag a larger text view into this Linnie this horizontal scroll view here.

32
00:01:51,450 --> 00:01:51,920
OK.

33
00:01:52,140 --> 00:01:54,090
That is actually inside this linearly.

34
00:01:54,120 --> 00:01:54,700
OK.

35
00:01:54,870 --> 00:02:02,700
So just put it inside this horizontal scroll view and double click on this text view OK and delete the

36
00:02:02,700 --> 00:02:12,720
takes of this text view and for the ID just in here takes the arrow a one OK and now it's actually drag

37
00:02:12,810 --> 00:02:18,490
and order linearly a horizontal into this linearly and vertical here.

38
00:02:18,540 --> 00:02:19,360
OK.

39
00:02:19,710 --> 00:02:25,220
And then now let's actually drag our scroll view as you can see here.

40
00:02:25,230 --> 00:02:27,000
Inside these containers fall there.

41
00:02:27,150 --> 00:02:28,560
We have a scroll view here.

42
00:02:28,770 --> 00:02:35,670
Just select this horizontal scroll view here and put it inside this linearly out horizontal here.

43
00:02:35,730 --> 00:02:36,400
OK.

44
00:02:36,820 --> 00:02:43,620
And now let's actually drag and other takes you here as you can see large takes view and put it inside

45
00:02:43,620 --> 00:02:45,780
these horizontal scroll view here.

46
00:02:45,780 --> 00:02:46,490
OK.

47
00:02:46,830 --> 00:02:53,340
So double click on this takes you here delete the text of the state's view and for the ID just type

48
00:02:53,340 --> 00:02:53,660
in here.

49
00:02:53,670 --> 00:02:57,130
Here is the array.

50
00:02:57,620 --> 00:02:58,430
OK.

51
00:02:58,760 --> 00:03:01,220
And then press on Enter key on your keyboard.

52
00:03:01,550 --> 00:03:09,920
So now let's actually go back inside this main activity the java file here and now let's actually delete

53
00:03:10,220 --> 00:03:13,690
these lines of code that are actually related to the Options menu.

54
00:03:13,760 --> 00:03:14,750
OK.

55
00:03:15,200 --> 00:03:21,800
As you can see here and then it's actually that delete this block of code that is related to the other

56
00:03:21,820 --> 00:03:24,470
to actually floated floating action button.

57
00:03:24,760 --> 00:03:25,310
OK.

58
00:03:25,460 --> 00:03:28,330
And now we can actually put our own code here.

59
00:03:28,390 --> 00:03:28,980
OK.

60
00:03:29,230 --> 00:03:29,780
OK.

61
00:03:29,810 --> 00:03:34,040
Now let's actually create two text view objects.

62
00:03:34,430 --> 00:03:34,950
OK.

63
00:03:35,120 --> 00:03:39,900
So as you can see here these are actually our text view objects here as you can see.

64
00:03:40,190 --> 00:03:45,190
So the name of the first text view object is the arrow one.

65
00:03:45,410 --> 00:03:53,300
And as you can see here and here I am referring to this idea takes the area one OK and the name of my

66
00:03:53,300 --> 00:04:00,380
second object is the X the array 2 and the name of this idea is the X the at a 2.

67
00:04:00,400 --> 00:04:05,420
Ok so now let's actually create an array of integer numbers.

68
00:04:05,700 --> 00:04:13,340
But this time I want to actually teach you how to use dimensional arrays and this means you want to

69
00:04:13,340 --> 00:04:17,410
actually create an array of arrays in Java.

70
00:04:17,420 --> 00:04:18,020
OK.

71
00:04:18,350 --> 00:04:20,010
So let's see how we can do that.

72
00:04:20,270 --> 00:04:26,420
So here is my area as you can see I actually created our two dimensional array here.

73
00:04:26,600 --> 00:04:31,120
So first of all I actually specified the data type of my array.

74
00:04:31,490 --> 00:04:38,600
And here actually because I wanted to create a two dimensional array I needed to put in two pair of

75
00:04:38,630 --> 00:04:39,670
brackets here.

76
00:04:39,740 --> 00:04:40,390
OK.

77
00:04:40,490 --> 00:04:44,660
As you can see here I put in two pair of brackets here after my top.

78
00:04:44,660 --> 00:04:45,510
Type name.

79
00:04:45,920 --> 00:04:49,520
And this is my real name into Hourihan.

80
00:04:49,730 --> 00:04:51,370
And this is my area here.

81
00:04:51,470 --> 00:04:56,000
As you can see here are actually instantiated this Adli by putting these values here.

