All right, there is nothing to see here, go to the next video... if you want to hang around we're going to make some auto layout boxes... that we're going to need when we get into some nested auto layouts... but these are just plain old auto layouts... so that when I type things in, and put in different prices, they all adjust... if you know how to do that you can skip ahead, nothing extra here...
if you want to hang around, keep me company though, hang around... let's make some text boxes. All right, first boring thing is, I want to-- I changed the font size here... tested this on my phone, had a look at it, and the date was way too small... so I bumped it up to 14. The next bit is, I want the Early Bird text...
kind of in that lozenge thing with a wrapper around the outside... so I know I want the wrapper around the outside... so I know it needs to be an auto layout... so instead of-- depending on, you might have methods, right? Might be Type tool, 'T' for the Type tool, and type in "early bird"... and then you go, "Okay, it needs to be an auto layout"...
which you can't do with text, so it needs to be in a frame... so I'm going to go right click... 'Frame Selection', now I can do 'Auto Layout'... and now I can add my padding and stuff, and background fill... to add, let me show you, this is where you might be doing, right? Cranking up the padding, there we go...
that's a method, but we can cut to the chase... we can go 'T' for Type tool, and let's type in "early bird" again... and just go-- hit 'Esc' to close the text box... because if you hit V to go back to the Move tool... just get a 'V', so 'Esc', and then just turn it straight into a component... because component covers it in a frame...
and a frame can be turned into an auto layout... so 'Command Option K', or Ctrl Option, sorry, 'Ctrl Alt K' on a PC... and let's just go 'Auto Layout', it's a bit quicker, and it's already a component... nice, and I'm going to do some speed design, you wait there. All right, you design yours how you like it... just make sure it was an Auto Frame, and it's set to 'Hug' 'Hug'...
so that when the text changes it comes along for the ride. All right, Early Bird done, next is the Price... and because it's got most of the work done... I'm going to duplicate it, I don't want an instance of this... and try and do variants and stuff because it's so different... so I'm just going to grab it there and break it apart...
it's actually called Detach Instance... but it's 'B' for break it apart, so yours would be... so that's 'Command Option B', or 'Ctrl Alt B'... 'Command Option B', break it apart... now it's just an auto layout, called Early Bird... it's not a great name, so we're going to call this one...
actually, we're just going to put in a price... I live in the Euro zone, so we're going to have 24.95, you put in your price... I don't want to be called Early Bird... now, we'll get into the habit now... of using the shortcut of 'Command R', or 'Ctrl R' for renaming... instead of having to double click up there...
let's do that from now on, Dan, let's call this one "Price"... and I'm going to move it on top of this... but I don't want it to be inside the component just yet... so who remembers how I hold things over without joining them in? Did I mention this yet, guess I have, hold 'space bar'... and you can see it's actually not going inside of the card...
it's just sitting on top of it... whereas if I don't, it tries to dump... you kind of see over here... it tries to go inside of it, so I'm going to say, 'space bar'... so it's just sitting on top of the layers, so I can now go... actually, what color should it be?
I'm going to use my local colors and it's going to be white. The text color is going to be, not white but I'm going to start using... for a lot of the, sorry, text... so local colors, I'm going to use my neutral color... the 500 of it, kind of black, but kind of not, a little bit of pizzazz... all right, so that's you, go down there too...
I'm going to super speedy, actually, just jump cut to a couple of text boxes. All right, we've only jumped this far, and, design consideration... white looks good on this dark background... but as soon as I get a light background it's not going to work so well... so I either need a really strong Drop Shadow or a back box for it... and that's what I'm going to do, put a little back box around it...
basically, an auto layout... let me jump cut to there. All right, we'll jump to here, one thing to notice, remember, is that I don't-- I've done a, like a background kind of color... I want it to be faded out, but it's all just one auto frame... so what I need to be mindful of is, not lowering the Layer opacity... but the Fill opacity to 50%, because remember...
the layer goes down the whole thing, anyway... let's jump a bit further. All right, there we go, I just put a text box in here, that is this one here... it's kind of a fixed height and width... whereas this one here is... what is it, stretchy, the word's not stretchy...
there you go, select the text inside of it, there it is, auto width, that's it... so that can be typed on forever. It's also a good idea to find a title that is really long... I found it from just an event site near me, it should be a good event, I'm sure... but I picked a really long one, because I want to design for... yeah, a really long title, I don't want to be surprised by that later on.
What should be your component? That probably doesn't, just block text, that doesn't... I plan on using this, probably multiple times throughout the app... and this as well, so that's already component... this one's going to be one, so 'Command Option K'... Ctrl Option-- 'Ctrl Alt K' on a PC, it is a component, excellent.
Those are the bits we need... so you can go off and make them as we are going through the course... I need to build them, they'll want to skip it, I kind of did... but there are some people who like to follow the full process... especially when we're doing more and more auto layouts... there you go, you got to watch it...
all right, we're ready, it is auto layout madness from now on... I promise, I'll see you in the next video.