Hire everyone in this theater you're really going to go ahead and create our 11th Android application.
So first we need to actually click on this start any Android studio project and then we need to actually
assign an name to our application name to just type in here app 11.
And then you can actually specify a company domain or package name and a project location for your application
and then click next.
And here you can actually specify our minimum SDK for your application.
So make sure that you actually do choose AP I-69 Android 4.1 jelly bean.
OK.
And then click on next and here choose Blanche activity next.
And here don't change anything.
And then we can finish.
So as you can see here now we can actually configure and set up the project for us and here.
Delete this hello world takes you here and then double click and this arrest folder and lay out and
then double click on the activity on the line.
That's my main example.
And then here select this floating action button and then press on and delete key on your keyboard.
So as you can see here now these are floating action.
Button is gone.
OK so now we can actually design our our interface here.
And let's actually drag and drop some components into this relatively OK.
So first of all we need to actually track a linearly out vertical into this relatively out in the center
of this relatively OK so Center horizontal and center vertical.
So as you can see here now you have these linearly out vertical inside these relatively out.
OK.
Now let's actually write a text you into this linearly out vertical.
So just click on this large text view here and then put it inside this linearly and vertical here.
OK.
So double click and this takes you view and then for the text just type in here calculations
OK.
And for the ID just type in here TXI the calculations.
OK.
And then let's actually direct a linearly out horizontal.
OK.
Below this takes a view here and then right.
Another takes you into this linearly horizontal.
So just click on this large text view and then put it inside this linearly out horizontal.
Or you can actually put it inside this componentry And inside this linearly out horizontal and then
double click and this takes view.
And for the text just typing in here game status and for the ID just type in here TXI the game status.
OK.
And let's actually click on this linearly or horizontal and as you can see here we have an attribute
here called gravity.
So just open this gravity attributes and then check this checkbox here that says Center under the line
horizontally.
OK as you can see now this takes you inside.
These are linearly or horizontally is at the center of this linearly and horizontal OK.
And now let's actually do an image view inside this linearly out of the vertical and then just click
on this image here.
And let's actually find out margin here.
And for the top here margin top just assign the value of 100.
And then list actually to give an image to this image view.
So under this top I have an image here.
So just copy this image OK.
And then and then I need to actually click on View tool windows and then project.
And here I just need to click on this driveable folder inside this rest folder and then I just need
to hold the command key and then press on the leader key on my keyboard.
If you are using a Windows machine you need to actually hold the can control key and then press on the
leader of the key on your keyboard.
OK.
And then it's going to actually ask you to assign a name and a directory to your image and then click
on it.
OK.
So as you can see here now I've got this image inside this drivable folder.
So let's actually find these are the attributes of this image view here.
So as you can see here we have this as our C attribute here.
So just click on this button here.
And as you can see the text of this button is freethought.
OK.
And here as you can see we've got a Taps.
So choose the project tab here and then close this color folder by just clicking on this little triangle.
And as you can see here we have these tribal here.
I can actually search for my image if I want to if I actually know the name of my image.
So here as you can see I can't just pain the I see it as you can see this is my image OK.
I just typed in I could find this image by just typing in the name of this image.
I did manage to successfully find my image inside these are actually inside this driver folder.
So as you can see here this is my image.
And then I need to click on this OK here.
Now as you can see here we have our image here inside this image.
And as you can see it is very large.
So many to actually make it a little smaller.
So I just need to find the lay out of this image and then I can actually assign the value 100 to the
vid of this image and then I can actually assign the value of 100 again to the height of this image.
As you can see here this is our image here.
OK.
And now let's actually track a button into this linearly out vertical.
So as you can see here we have a button here and then I can just put it below this image here and inside
this linearly it's vertical.
So I can't just double click on the spot him and for the text just type in here restart the game and
for the idea I just need to type in between.
Start the game.
OK.
So hopefully that makes sense and I think the design of our interface is actually done and we don't
need to actually do anything here.
We successfully designed the interface of our game here.
And then we can actually to go back inside this main activity of a file here.
And then I can really delete these lines of code that are actually related to the Options menu.
And then again delete this block of code that actually is related to the floating action button which
I'll talk more about in a leader tutorials in this course.
So just delete this block of code here.
And now we can actually put our own codes inside of these java file.
So I think that's enough for this theater deal.
And we're going to actually continue building our 11th Android application in the next tutorial.
So thank you very much for watching.
And if you have any questions please post the discussion in the course and I'll see you in the next
tutorial.