Hire everyone in this theater are really really going to go ahead and create AR15 Android application.
So just click on this art start a new Android studio project and then for the name of our application
name just type in here app 15 and you can actually specify the company domain package name and project
location and then click on next and then choose if you are 16 Android 4.1 Jelly Bean for your minimums.
OK.
And then click on next Blache activity next.
And then here you can actually specify a name for your activity name.
Lay out the name and the title main activity and for the minute your resource name don't change any
of these values and then click on finish.
OK.
Now let's actually delete this hello world text view and then double click on the rest folder.
Lay out activity main and here select this floating action button and then press and delete key on your
keyboard.
OK.
So let's actually go back and say this content underlined minute example and then now we want to actually
design our user interface here.
OK everyone.
Now let's actually drag a linearly out vertical into this linearly out horizontal.
So just put this linearly outward to ticket at the center of this relatively out of as you can see here.
Now are linearly alphabetical is actually here at the center of this relatively out and the then is
actually right or linearly and horizontal into these linear left vertical OK.
And first of all it's actually a drag or takes you into this linearly or horizontal.
So just select this large text view and then put it inside of these linearly and horizontal double click
on this low stakes view.
Is the text of this text view.
And for the ID just type in here takes the five stars.
Student Okay.
And then a person and the key on your keyboard.
And it's actually the right rating board into these linearly or horizontal.
OK so just put it here and then double click on this rating bar here.
And for the ID just type in here are Tibe five stars.
Student Okay.
And then it's actually a select these linearly or horizontal.
And now let's actually select select this linearly horizontal and then actually find the lay of gravity
as you can see if we have an area of gravity here and we have a gravity attribute here.
OK.
So let's actually find the gravity attribute.
As you can see here and for the center horizontal that's actually select this tick box here that says
Center horizontal OK.
And then architecturally select these are large takes you here and essentially find the layout Margene
as you can see this is the layout Margene that is actually related to this fixed view.
So it opened on margin by clicking on this little triangle here.
And for the right Margene a sign of value for example Number 10 for example Number 10 or number 20.
OK.
So again it's actually drag a linearly out horizontal into this linearly alphabetical and actually drag
a rating board into this linearly and horizontal.
Let's actually drag and other large takes you into this linearly out horizontal.
So just select this large text and then put it inside this linearly and horizontal here.
And as you can see here are this large takes you position on the right hand side of this.
Right.
But once this takes you to be at the at the left hand side of this rating but so just drag this takes
you and put it in before this rating bar here.
OK.
So now as you can see this text is actually at the left hand side of this writing bar.
So just double click on this large text view for the text just delete the text.
This takes you.
And the idea just typing here.
T XTi for starters
student OK and then person Enter key on your keyboard and let's actually select this linearly and horizontal
and for the gravity as you can see here let's actually find the gravity attributes and selects this
checkbox here that says Center underline horizontal OK.
And then secondly to select this text view and find the left margin as you can see this is the left
margin and the margin right.
Enter the rad U-20.
OK.
So as you can see here we didn't assign an ID to this rating but so double click on this rating.
And for the ID just type in here r t be four stars.
STUDENT 4 stars.
Student and then press Enter key on your keyboard.
OK.
Now let's actually drag a linearly add horizontal into this linearly I-30 call.
And then let's actually write a large takes you into these linear left horizontal and double click on
dislodge this view.
And for the text just delete the text of the stakes.
And for the idea to step in here it's the freestylers student.
OK.
And then let's actually drag our 18 bar into this linearly and horizontal so just select this raking
bar here and then put it inside this linearly out horizontal OK.
Double click on this rating bar here and are for the idea just type in here are be Freestar student.
OK.
And then as you can see here are let's actually select this linearly horizontal and here.
Let's actually find the gravity attribute as it can see this is the gravity attribute.
And here it is take place here that says Center underline horizontal and select the text view.
And let's actually find the layout Margene and for and for the right margin just assigned the value
20.
So now our listeners try to select this.
Our first rating we're here as you can see double click on it and for the rating just assigned a value
5 select this second rating bar here for the state for the rating just assigned a value for this a fair
rating bar here for the rating assigned to value free.
OK.
And this actually drag and other linearly or horizontal into this linearly Outhwaite cycle.
And this actually select this large takes view and put it inside this linearly horizontal double click
and this large stacks view and I deleted the text of this text you and for the ID just type in here
takes the two stars.
Student Okay.
And let's actually like orating bought into this linearly or horizontally.
So just select this right in bar here and then put it inside this linearly out horizontal OK.
And that will Heliconius aren't rating.
And for the top ratings just type in here too.
And for the ID just assign r t b to stars.
Student Okay okay.
And then press on until key on your keyboard.
So just let's actually select this linearly of horizontal and for the gravity.
Check this checkbox here that says Center underline horizontal and selected this takes view.
And for the layout Margene and here as you can see the left margin attributes assigned a value 20 for
the right margin OK let's actually try another linearly out horizontal into this linear left vertical
and right or large takes you into this linearly and horizontal double click on it delete the text then
delete the text of this text view.
And for the idea just typing here takes the one thought student okay and present it on your keyboard.
And let's actually write R-rating but into this linearly horizontal double click on it for the regime.
Just assign the value 1 and for the ID just type in here Arti be one star student.
OK.
And then press enter on your keyboard.
So just select this linear horizontal and then actually find the gravity attribute as you can see here.
This is the gravity attribute and then check this check box here that says Center underlined horizontal
and then select this 61 star student text view.
And then for the layout Margene assigned the value 24 the right margin.
Okay.
And let's actually drag a bottom into this linearly or two articles.
So as you can see here this is a pattern.
So just put it put it here and double click on it and for the text just type in here show me the results.
And for the ID just type in here between results.
OK.
And let's actually find out marching for this button for the margin top.
Assign the value 20.
OK so now as you can see here.
We actually designed our user interface and now let's actually go back inside this mine activity double
file here and delete these lines of code that are actually related to the Options menu and delete this
block of code.
And now we can actually start coding here.
OK.
Now let's actually create some takes you objects to just type in here takes view sixty five stars.
Student Okay.
And then put an assignment operator here that's actually cast this object to a text view object find
view by ID or that Id taught the five stars.
Student Okay.
And again the statement here takes you Felix the Forsters student
OK and then put an assignment operator here that's actually a this object to a text view object find
view by ID or that Id dot sixty four stars.
Student Okay.
Essentially create another text object takes the Freestar student OK.
Test this object or text object find view ID or that ID that the Freestar.
Student Okay.
And by the way if you want to you can actually copy and paste these lines of code if you want to save
time.
But I prefer to actually write every line of code myself so that you can see what's going on here.
OK.