When I started learning android studio 2-3 years ago, I always loved this layout and every app, every layout I created with it, now it's far more advanced with ConstraintSet Transition and MotionLayout. Now, as one of my friends wants to learn it, I'm gonna suggest him this video because it look fine. Thank you for this, I'm sure he's gonna love it.
I was pretty skeptical about constraint layout because it was kind of difficult to learn. But once you get it, it is super easy to use and works perfectly every time. My only gripe with it is that it's really hard to test and to build parts of UI programmatically. I'm hoping they improve on that in the future.
Honestly, I was humbling around google and youtube for a couple of hours on how to include the buttons and texts within the layout properly, and luckily I found you :) man, I'm going to hit the red button :) keep on doing the good work
hey mitch i have being using other layouts bt of late am using constrain...i appreciate your work , am your number one follower.mad respect from Africa, Kenya
I would really love to have an entire structured android development course from you. I am an iOS developer and I have been through your videos and they have intrigued me to try Android development!
Another great video Mitch!! Greetings from Australia!! I've been learning Kotlin for the last few months and I'm really enjoying your videos. Regarding layouts though, I would love to know how to code dynamic layouts which completely change when the user flips screen orientation. So for example, 2 views stacked and constrained vertically in portrait view become 2 views stacked and constrained horizontally in landscape view.
This is pretty cool. But what about making the constraint layout look similar in different screen, either big, small, wide or slim screen? This always my problem with a constraint layout. I want a solution or solutions.
thanks mate been looking for this for months, do you have a course for pure kotlin beginners like I'm just surviving with the sources that I keep getting here but somehow I want to learn from here you are easy to understand.
Hi Mitch. I was curious about your courses. If I wanted to make an app from a tablet/phone that sends input into a small server and then displays the same on another screen wireless-ly, what would you recommend?
Coding in Flow I follow both of you guys. You both are awesome. I am a late bloomer lol. Shame on me. Nah never mind I have learnt other things without learning the technical verticals at first.
Thanks Mitch, Its an awsome tutorial mitch but can we change the Text size according to screen size????? I have made an app and in the Toolbar i have mentioned the App name the text comes in the next line in the small screen device while it is perfect for the 6 inch Device. i havnt used constraint layouts i have used only linear and relative layouts only
Hey Mitch, I'm not a beginner to Android but I haven't done anything with MVVM, Retrofit2, or Dagger. Do you think I should complete the beginner courses before doing your new course or will you be rehashing some of that in the new course?
I design an ui with constraint layout according to default setting (pixel) and when i run it on nexus 5 its totally changed. Do i need to create a different apk for nexus 5??
Yeah was gonna like it but started going around the whole thing. I like straight to the point had to wait over a min to get started. Just needed examples how's its used adjusted and format.
@15:00 This works to one of my layout file but the other don't. I added fillViewport=true and first child of constraintlayout vertical_chainStyle spread but nothing happened.
Hi there can any one answer to my question about intent when we use component field in the intent, i need some concrete example SETTING THE COMPONENT IN INTENT Intent newInt = Intent( Context packageContext, Class cls); Intent newlnt = new Intent() setComponent(), setClass(), setClassName() Thanks
Excellent video brother.... I just wanna know that this method works on smaller or extra large screens or not....? Because i always use linear weight attribute to scale the bigger screen sizes.... And i wanna do the same thing through constraint layout and I hope u will make a V2 of Constraint Layout.... soon..
Question, every view need to know who is below or up, and the other view also need to know who is up or down? like username and password ? Best Regards
Honestly you should do the tried and true way of tutorial, start building the layout from scratch, build it gradually from nothing so the user can actually learn. Not have some existing stuff, copy this cut that.
When I started learning android studio 2-3 years ago, I always loved this layout and every app, every layout I created with it, now it's far more advanced with ConstraintSet Transition and MotionLayout. Now, as one of my friends wants to learn it, I'm gonna suggest him this video because it look fine. Thank you for this, I'm sure he's gonna love it.
Putting the constraint in a scrollview is a lifesaver. Thanks for another great video!
Safe and effective
@@codingwithmitch didn't know this and was struggling when rotating. Solved the problem, thanks mitch!
Havent used Constraints layout before. Everytime forcing myself to go with relative but now it looks like I have to use it. Its really easy.
Ya just check out that article I mentioned in the video. It's surprisingly simple and very useful.
I was pretty skeptical about constraint layout because it was kind of difficult to learn. But once you get it, it is super easy to use and works perfectly every time. My only gripe with it is that it's really hard to test and to build parts of UI programmatically. I'm hoping they improve on that in the future.
I'm new to Android development and this video was a huge help. Thank you so much for putting this tutorial together!
Honestly, I was humbling around google and youtube for a couple of hours on how to include the buttons and texts within the layout properly, and luckily I found you :) man, I'm going to hit the red button :) keep on doing the good work
Brilliant video thumbnail. That is the funniest one I've seen on a coding channel. You're killing it!
hey mitch i have being using other layouts bt of late am using constrain...i appreciate your work , am your number one follower.mad respect from Africa, Kenya
Constraint seems like the way to go these days
that bias thing is really cool
Thanks Mitch! Really cool tutorial for someone who doesn't understand anything about layouts.
Now I think you can say that you are a RUclipsr with no haters!!
Hey Mitch! perfect video! Just what I need! I was struggling with Constraint Layout for a couple of hours.
i fee you fren
i was bout the same haha
thank you sensei. I appreciate your sharing this work. best channel on Android development
Thank you! You are so clear and just correct pace to follow!
Is RUclips selling you my data 😂😂
bcoz I was searching for some good videos on constraints layout and thanks for video man👍
Luck of the draw I guess 😘
Good introduction
really helpful man... i'm from Ethiopia and i love your videos mitch
Awesome stuff! How often do you use the design tab when making layouts?
Almost never. Prob 99% I write the xml
I would really love to have an entire structured android development course from you. I am an iOS developer and I have been through your videos and they have intrigued me to try Android development!
Start here my friend. It's free codingwithmitch.com/courses/sqlite-room-persistence-android/
It's very interesting for me, I also want to learn how to change layout programmatically ( events-driven). Smth drag n' drop style
Great tutorial with an outstanding presentation, thank you Mitch all the very best
I can do the same with the combination of relative and linear layout, but the concept of constraint layout is good.
I'm just learning, and I wanted to see this layout in action. Thanks for the show
please Continue this stuff i like it👍
Amazing tutorial.
Do we need to create different apks for different mobile resolutions or we just use one for all type of mobiles??
Another great video Mitch!! Greetings from Australia!! I've been learning Kotlin for the last few months and I'm really enjoying your videos. Regarding layouts though, I would love to know how to code dynamic layouts which completely change when the user flips screen orientation. So for example, 2 views stacked and constrained vertically in portrait view become 2 views stacked and constrained horizontally in landscape view.
This is pretty cool. But what about making the constraint layout look similar in different screen, either big, small, wide or slim screen? This always my problem with a constraint layout. I want a solution or solutions.
Good Explanation.
Thanks, Mitch.
thank you so much, for the amzing tutorial on ConstraintLayout 👍
thanks mate been looking for this for months, do you have a course for pure kotlin beginners like I'm just surviving with the sources that I keep getting here but somehow I want to learn from here you are easy to understand.
Happy to see you back in android java! all time grat job!!
That was not java. That was XML 🙃
@@codingwithmitch that exact i was thinking about android !! in fact i watched juste 50% video! i was busy with others stuff!! have fun
Thanks so much but I didn't follow up cause I couldn't see what you were doing on the AVD.
You are my teacher sir..
Great video!!!. Do you have a video about custom views?
cant wait to see more thanks a lot u really helped me !
Nice video!, I couldn't understand constraint layout quite right until now! :D
Helpful, great insight into your knowledge attainment and practical application. Thank you!
Hi Mitch. I was curious about your courses. If I wanted to make an app from a tablet/phone that sends input into a small server and then displays the same on another screen wireless-ly, what would you recommend?
very helpful video as usual man, thanks a lot for the tutorials, definitely worth checking them out.
please do more videos on Constraint Layout
Very nice tutorial and explanation ! Thank you!
Nice video! Could you make animation or creating custom view course in the future?
Animations are pretty simple. I'll prob do some basic videos on that.
What do you mean by "custom view"?
CodingWithMitch Creating own custom view. As for me it’s very difficult theme.
Nice video about constraint layout
You are a late bloomer eh
Just stopped wetting the bed too
Coding in Flow I follow both of you guys. You both are awesome. I am a late bloomer lol. Shame on me. Nah never mind I have learnt other things without learning the technical verticals at first.
Good video sir, thank you. please make a video on motion layout.
Thanks Mitch, Its an awsome tutorial mitch but can we change the Text size according to screen size????? I have made an app and in the Toolbar i have mentioned the App name the text comes in the next line in the small screen device while it is perfect for the 6 inch Device. i havnt used constraint layouts i have used only linear and relative layouts only
Hey Mitch, I'm not a beginner to Android but I haven't done anything with MVVM, Retrofit2, or Dagger. Do you think I should complete the beginner courses before doing your new course or will you be rehashing some of that in the new course?
You can skip SQLite for Beginners 2019, then just follow the android learning path on the home page.
How would you have a text view which scrolls but the buttons at the bottom do not and stay in their place in a constraint layout.
This was actually pretty good. I learned some new things 😁
I design an ui with constraint layout according to default setting (pixel) and when i run it on nexus 5 its totally changed. Do i need to create a different apk for nexus 5??
very clear explanation
so should you ideally not be using margin dp at all for a responsive layout?
Yeah was gonna like it but started going around the whole thing. I like straight to the point had to wait over a min to get started. Just needed examples how's its used adjusted and format.
thank you for the amzing tuto and the explanation ! :D
hey mitch what is that zigzag lines called which is blue in colour
timestam 3.26
@15:00 This works to one of my layout file but the other don't. I added fillViewport=true and first child of constraintlayout vertical_chainStyle spread but nothing happened.
How i can set distance on constraint?
layoutParams.startToStart = button.getId();
And what next? I want to set width or height with constaints.
Daaaamn ! You're awesome bro
Hi there can any one answer to my question about intent
when we use component field in the intent, i need some concrete example
SETTING THE COMPONENT IN INTENT
Intent newInt = Intent( Context packageContext, Class cls);
Intent newlnt = new Intent()
setComponent(),
setClass(),
setClassName()
Thanks
Thank you Mitch!
Excellent video brother....
I just wanna know that this method works on smaller or extra large screens or not....?
Because i always use linear weight attribute to scale the bigger screen sizes....
And i wanna do the same thing through constraint layout and
I hope u will make a V2 of Constraint Layout.... soon..
It works for all screen sizes
@@codingwithmitch thanks for replying back....let me check........
Question, every view need to know who is below or up, and the other view also need to know who is up or down? like username and password ? Best Regards
Thank you Mitch 👍
i love this thumbnail !
Great video!
very useful content, thanks
Can you make a tutorial about kotlin with Retrofit and GSon? Btw, this channel is awsome!!
Yes. In my upcoming course that I mention at the end of this video I'll be doing exactly that.
Thanks for this video
you nailed it
Nice explanation
God bless you, thank you so much.
No problem
thank you Mitch
Honestly you should do the tried and true way of tutorial, start building the layout from scratch, build it gradually from nothing so the user can actually learn. Not have some existing stuff, copy this cut that.
a big help says the one who hates designing.
Thank You Sir.
the XML changed because of the the switch to kotlin.
nice t-shirt mitch
😎
great video
Thank you!!
Thank you ❤
Good work link for codes
Thanks!
Thanks brother
do u have twitter ser?
Nice 1
thnx bro
hello sir! : ))
Hello
Link to docs from video developer.android.com/training/constraint-layout
hello thank you for share the knowledge . hello sir give me free api for movie Hollywood
lol i wasted 21 mins to see what i actually knw
Stop everything you're doing and talk about Coil, please.
Thank you very much
I will in my next course or I'll make videos
I just think ConstrainLayout a completely waste of my time
Thanks brother
No problem pal