Hi everyone in this story all we're going to go ahead and create another Android application.
So just click on this.
Start in your Android studio project here and then for the name of your application.
Just type in here app 52 and then click on next and here choose AP 16 Android 4.1 bean for your minimum
STK and then click on next.
And then he had to empty activity next.
And here don't change anything.
And then we can finish.
So now as you can see our project is actually created.
So now it's actually designed to use an interface of our application.
So just doubleclick on this red folder and then double click and this layout folder.
And then here double click on this activity underline made that example.
OK so now we don't actually designed the user interface of our application.
So first of all let's actually delete this hello world text here.
So just select it and press on delete key on your keyboard.
So here let's actually derive a linearly out vertical at the center of this relatively out here as you
can see.
And then let's actually track linearly at horizontal at the center of this linearly as vertical.
So just select this linearly as horizontal inside these layouts folder and then put it at the center
of this linearly at vertical.
And as you can see here the lay out of each of these linearly horizontally is actually much parent.
And the layered height is set up content.
OK this is really important.
So now let's actually drag a large takes you into this linearly out horizontal here.
OK.
And double click on it and for the text just typing here type colon and then press Enter key on your
keyboard and then let's actually track I another large takes you into this linearly or horizontal.
So just select it and put it inside this linearly as horizontal and double click on it.
Delete the text of this text view and for the OED to step in here takes the type and then click on and
that person Enter key on your keyboard.
So now let's actually to select both of these text views that are inside of this linearly or horizontally.
So just select both of them and here for the layout we assign the value 0 and that person entered key
on your keyboard.
Right.
And let's actually find out.
Wait.
So as you can see here this is the lead with weight attribute that is actually related to both of these
takes views are key because they actually selected both of these takes viewers and I assigned the values
0 for the lay out of this takes.
And for that they have to wait assign the value 50.
So now both of these are text views and actually take a half of the weight of their parent.
So as you can see here this linearly has you can see here is actually the parent of these two takes
views and I assign the values 0 4 to the health of these two takes views.
And then I assign the value 50 for the lay out weight of these takes views.
So now they're going to actually take a half of the vote of their parent as you can see here this linearly
I swear to god right this linearly or horizontal.
Right.
So now let's actually track and are there linearly at horizontal into this linearly at vertical.
So just select it and put it at the center of this linearly or 20 and below these are linearly linearly
or horizontal here.
OK.
So just put it here and then let's actually drag a large takes you into this linearly and horizontal
here.
OK.
As you can see inside this componentry section and just put it here inside this linearly are horizontal
and now just double click on this takes view here.
And for the text just type in here.
Artist Name colon and then person enter key on your keyboard and then it's actually right and other
large takes you into this linearly or horizontal here and then double click on it and deletes the text
of this takes you.
And for the idea just tape in here takes the artist name and then press Enter key on your keyboard.
So now let's actually select both of these takes views and for the out we assign the values 0 and for
them they have weight assigned a value of 50.
So now as you can see these two takes views are going to take a half of the weight of this linearly
out horizontal which is the parent of these takes views.
Right.
So hopefully that makes sense.
And now let's write an orderly in the earlier horizontal into this linearly as vertical as you can see
here.
This is our lead linearly as vertical and put it below this linearly at horizontal OK.
Just put it at the center of this linearly vertical.
OK.
And now it's actually there are large takes you into this linearly or horizontal here again.
And now let's actually double click on this large text view.
And for the text just type in here collection name and then put a colon here at the end of this text
here and then press Enter key on your keyboard on your keyboard and then let's actually write another
large text view into this linearly or horizontal here.
Double click on it and delete the text of this text view.
And for the idea just typing here takes the collection name and then person Enter key on your keyboard.
So now let's actually write an order linearly out horizontally into this linearly or vertical.
So just put it at the center of this linearly mathematical OK.
And then let's actually track another large takes you into this linearly out horizontal here and then
let's actually double click on this large stakes here and for the text just type in here thrax name
and put a call in here.
At the end of this text and then press Enter key on your keyboard keyboard and let's actually drag a
large text you again into this linearly at horizontal here and double click on it and deletes the text
of this text view.
And for the idea just typing here takes the trash name and then person Enter key on your keyboard.
So analysis try to select both of these.
It takes views.
And for that you have to be assigned a value zero.
And for that they have weight assigned a value of 1.
So now let's actually drag and either linearly or horizontally into these linearly as vertical.
Here again let's actually to write a large text view into this linearly or horizontal here and doubleclick
on the stakes here for the text.
Just type in here kind Kallen kind colon and then press Enter key on your keyboard.
And again let's actually do like and other large takes you into this linearly or horizontal here.
OK.
And double click on it for the text.
Just delete the text of the stakeout view and for the ID to step in here takes the kind and then are
present in Turkey on your keyboard.
So now let's actually select both of these text views and for the we assign the value 0 and for the
lay of weight assigned a value 50.
So now let's actually track an image view here.
As you can see inside these widgets folder.
I have this image viewer component here.
OK.
Just select it and put it at the center of this linearly out vertical here.
OK.
And for the lay out we assign the value 200.
And then they have a height assigned value.
Two hundred.
Here as you can see and then person enter key on your keyboard and then let's actually find this Margene
attribute and for the Margene just assigned a value for the all.
OK assign the value of 30 and then person enter key on your keyboard.
And then as you can see here let's actually get a button into this linearly at vertical.
So as you can see here this is our pattern.
Inside this widgets folder just select it and put it below this image view here.
And for the layout we'd assigned a value match parent here as you can see just select this button here
and assign the value match parent and double click on this button here.
And for the text just type here to get the data get the adjacent data
from the Internet
and then after the ID just type in here between gets data and then press on Enter key on your keyboard.
So now the design of our use and use the user interface is actually finished but now I want to talk
about Jason and how to get Jason data from the Internet.
So now let's actually open our web browser so as you can see here this is my web browser and into Google.
Just search for iTunes Web service and then press on entelechy on your keyboard and then you will be
guided to put this page.
So as you can see here we have this first link here.
Just click on this first link here that appears on the screen.