YouSub
Untitled

en English

Untitled English subtitles

0 downloads · 22 lines · added Dec 12, 2015

Report a problem
What's wrong?
Advertisement

English transcript

When planning how to build this layout, we're going to start with the assumption
that we're going off of what we currently have in our app.
We're not building this from scratch.
For step one,
selecting the views, we actually already have all the views that we need.
There's no need to add or remove views.
We should have three buttons and four TextViews in our layout.
For step two,
positioning the views, I first describe what the layout looks like to me.
I see a header followed by a row of buttons and a TextView.
Then I see another header and another TextView.
And, lastly, that it's followed by an Order button.
>From this observation, I notice that we can't just use a vertical LinearLayout
because this item here is made up of more than one view.
We could potentially consider RelativeLayout, but
I'm going to leave a question mark by that.
For step three, we want to style the views.
The style actually remains pretty much the same as we had before.
Although I do notice that this quantity value
has a little bit of space between the minus button and the plus button.
So we might want to achieve this with either padding or
margin around this TextView.

Need subtitles from another video?