Constraint Layout Beginner Example

  Рет қаралды 74,792

CodingWithMitch

CodingWithMitch

Күн бұрын

Пікірлер: 117
@lalit.1
@lalit.1 4 жыл бұрын
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.
@Pesions
@Pesions 4 жыл бұрын
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
@ubernihilist457
@ubernihilist457 3 жыл бұрын
Brilliant video thumbnail. That is the funniest one I've seen on a coding channel. You're killing it!
@markb5411
@markb5411 5 жыл бұрын
Putting the constraint in a scrollview is a lifesaver. Thanks for another great video!
@codingwithmitch
@codingwithmitch 5 жыл бұрын
Safe and effective
@MAAMM96
@MAAMM96 4 жыл бұрын
@@codingwithmitch didn't know this and was struggling when rotating. Solved the problem, thanks mitch!
@douglasirungu1265
@douglasirungu1265 5 жыл бұрын
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
@codingwithmitch
@codingwithmitch 5 жыл бұрын
Constraint seems like the way to go these days
@ViralJoshiVirus
@ViralJoshiVirus 5 жыл бұрын
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.
@codingwithmitch
@codingwithmitch 5 жыл бұрын
Ya just check out that article I mentioned in the video. It's surprisingly simple and very useful.
@gabriel_export
@gabriel_export 5 жыл бұрын
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.
@GameAssetsGarden
@GameAssetsGarden 3 жыл бұрын
I'm new to Android development and this video was a huge help. Thank you so much for putting this tutorial together!
@numanali4259
@numanali4259 5 жыл бұрын
that bias thing is really cool
@savin1999
@savin1999 5 жыл бұрын
Now I think you can say that you are a KZbinr with no haters!!
@fliamachado
@fliamachado 4 жыл бұрын
Hey Mitch! perfect video! Just what I need! I was struggling with Constraint Layout for a couple of hours.
@jonothen2212
@jonothen2212 2 жыл бұрын
i fee you fren i was bout the same haha
@schrodingerscat3912
@schrodingerscat3912 5 жыл бұрын
thank you sensei. I appreciate your sharing this work. best channel on Android development
@manishpaul26
@manishpaul26 4 жыл бұрын
Thanks Mitch! Really cool tutorial for someone who doesn't understand anything about layouts.
@RahulPandeyrkp
@RahulPandeyrkp 4 жыл бұрын
Awesome stuff! How often do you use the design tab when making layouts?
@codingwithmitch
@codingwithmitch 4 жыл бұрын
Almost never. Prob 99% I write the xml
@HabeshaDeveloper
@HabeshaDeveloper 5 жыл бұрын
really helpful man... i'm from Ethiopia and i love your videos mitch
@elyu_vibes
@elyu_vibes 4 жыл бұрын
@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.
@thekochava
@thekochava 2 жыл бұрын
Thank you! You are so clear and just correct pace to follow!
@skittleapp5949
@skittleapp5949 2 жыл бұрын
Great tutorial with an outstanding presentation, thank you Mitch all the very best
@b.k4142
@b.k4142 5 жыл бұрын
Happy to see you back in android java! all time grat job!!
@codingwithmitch
@codingwithmitch 5 жыл бұрын
That was not java. That was XML 🙃
@b.k4142
@b.k4142 5 жыл бұрын
@@codingwithmitch that exact i was thinking about android !! in fact i watched juste 50% video! i was busy with others stuff!! have fun
@assassinhitman
@assassinhitman 2 жыл бұрын
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.
@salvadorc94
@salvadorc94 4 жыл бұрын
Nice video!, I couldn't understand constraint layout quite right until now! :D
@rman.sh91
@rman.sh91 4 жыл бұрын
please Continue this stuff i like it👍
@RobinJesba
@RobinJesba 5 жыл бұрын
Good Explanation. Thanks, Mitch.
@williamviolette4555
@williamviolette4555 3 жыл бұрын
so should you ideally not be using margin dp at all for a responsive layout?
@aichaouadah4829
@aichaouadah4829 4 жыл бұрын
cant wait to see more thanks a lot u really helped me !
@shankarmedhi8074
@shankarmedhi8074 3 жыл бұрын
hey mitch what is that zigzag lines called which is blue in colour timestam 3.26
@lilianpuzo225
@lilianpuzo225 4 жыл бұрын
Great video!!!. Do you have a video about custom views?
@asagiai4965
@asagiai4965 4 жыл бұрын
Nice video about constraint layout
@haroonahmad4483
@haroonahmad4483 3 жыл бұрын
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??
@foivosstamopoulos4106
@foivosstamopoulos4106 4 жыл бұрын
Very nice tutorial and explanation ! Thank you!
@alvaroisea2259
@alvaroisea2259 4 жыл бұрын
very helpful video as usual man, thanks a lot for the tutorials, definitely worth checking them out.
@anthonycraddock4782
@anthonycraddock4782 5 жыл бұрын
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.
@thekochava
@thekochava 2 жыл бұрын
It's very interesting for me, I also want to learn how to change layout programmatically ( events-driven). Smth drag n' drop style
@amanaggarwal5884
@amanaggarwal5884 4 жыл бұрын
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
@haroonahmad4483
@haroonahmad4483 3 жыл бұрын
Amazing tutorial. Do we need to create different apks for different mobile resolutions or we just use one for all type of mobiles??
@easytastybydounia4930
@easytastybydounia4930 3 жыл бұрын
thank you so much, for the amzing tutorial on ConstraintLayout 👍
@khaldounal-nuaimi3594
@khaldounal-nuaimi3594 5 жыл бұрын
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!
@codingwithmitch
@codingwithmitch 5 жыл бұрын
Start here my friend. It's free codingwithmitch.com/courses/sqlite-room-persistence-android/
@princembuko8620
@princembuko8620 2 жыл бұрын
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.
@shanusharma3722
@shanusharma3722 5 жыл бұрын
You are my teacher sir..
@sanketvaidya2473
@sanketvaidya2473 5 жыл бұрын
Is KZbin selling you my data 😂😂 bcoz I was searching for some good videos on constraints layout and thanks for video man👍
@codingwithmitch
@codingwithmitch 5 жыл бұрын
Luck of the draw I guess 😘
@footballCartoon91
@footballCartoon91 4 жыл бұрын
Good introduction
@ClintonSiegel
@ClintonSiegel 5 жыл бұрын
Helpful, great insight into your knowledge attainment and practical application. Thank you!
@codinginflow
@codinginflow 5 жыл бұрын
You are a late bloomer eh
@codingwithmitch
@codingwithmitch 5 жыл бұрын
Just stopped wetting the bed too
@avinashdas1013
@avinashdas1013 4 жыл бұрын
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.
@axelasa277
@axelasa277 4 жыл бұрын
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.
@venkatavanapalli8898
@venkatavanapalli8898 4 жыл бұрын
very clear explanation
@Rohityoyo1997
@Rohityoyo1997 4 жыл бұрын
I can do the same with the combination of relative and linear layout, but the concept of constraint layout is good.
@fliamachado
@fliamachado 4 жыл бұрын
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
@GrifinsBrother
@GrifinsBrother 5 жыл бұрын
Nice video! Could you make animation or creating custom view course in the future?
@codingwithmitch
@codingwithmitch 5 жыл бұрын
Animations are pretty simple. I'll prob do some basic videos on that. What do you mean by "custom view"?
@GrifinsBrother
@GrifinsBrother 5 жыл бұрын
CodingWithMitch Creating own custom view. As for me it’s very difficult theme.
@samha1513
@samha1513 5 жыл бұрын
This was actually pretty good. I learned some new things 😁
@dhosiohoes
@dhosiohoes 4 жыл бұрын
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?
@aichaouadah4829
@aichaouadah4829 4 жыл бұрын
thank you for the amzing tuto and the explanation ! :D
@lumennganje2721
@lumennganje2721 4 жыл бұрын
Thanks so much but I didn't follow up cause I couldn't see what you were doing on the AVD.
@b.k4142
@b.k4142 5 жыл бұрын
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
@gabriel_export
@gabriel_export 5 жыл бұрын
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?
@codingwithmitch
@codingwithmitch 5 жыл бұрын
You can skip SQLite for Beginners 2019, then just follow the android learning path on the home page.
@NickProkhorenko
@NickProkhorenko 2 жыл бұрын
How i can set distance on constraint? layoutParams.startToStart = button.getId(); And what next? I want to set width or height with constaints.
@MrAkshay7988
@MrAkshay7988 5 жыл бұрын
please do more videos on Constraint Layout
@franciscocv1995
@franciscocv1995 2 жыл бұрын
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.
@zacchan265
@zacchan265 3 жыл бұрын
very useful content, thanks
@MuhammadTahir1
@MuhammadTahir1 5 жыл бұрын
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..
@codingwithmitch
@codingwithmitch 5 жыл бұрын
It works for all screen sizes
@MuhammadTahir1
@MuhammadTahir1 5 жыл бұрын
@@codingwithmitch thanks for replying back....let me check........
@TanayOjha250889
@TanayOjha250889 3 жыл бұрын
Nice explanation
@rahhi9792
@rahhi9792 5 жыл бұрын
Good video sir, thank you. please make a video on motion layout.
@Jeff-Vader_head_of_catering
@Jeff-Vader_head_of_catering 5 жыл бұрын
Great video!
@riteshkumartiwari153
@riteshkumartiwari153 5 жыл бұрын
Thanks for this video
@dulakshanwije
@dulakshanwije 3 жыл бұрын
Thank you Mitch 👍
@KIRILLINGUSS21
@KIRILLINGUSS21 5 жыл бұрын
Daaaamn ! You're awesome bro
@priyamvashi2187
@priyamvashi2187 4 жыл бұрын
i love this thumbnail !
@jonothen2212
@jonothen2212 2 жыл бұрын
do u have twitter ser?
@tuandieu4523
@tuandieu4523 5 жыл бұрын
Can you make a tutorial about kotlin with Retrofit and GSon? Btw, this channel is awsome!!
@codingwithmitch
@codingwithmitch 5 жыл бұрын
Yes. In my upcoming course that I mention at the end of this video I'll be doing exactly that.
@best_books_bot
@best_books_bot 4 жыл бұрын
Thank you Mitch!
@ashilvass
@ashilvass 5 жыл бұрын
you nailed it
@lebanoncedarslebanoncedars8894
@lebanoncedarslebanoncedars8894 5 жыл бұрын
God bless you, thank you so much.
@codingwithmitch
@codingwithmitch 5 жыл бұрын
No problem
@ellyjessy5044
@ellyjessy5044 2 жыл бұрын
great video
@JeepDude
@JeepDude 5 жыл бұрын
I'm just learning, and I wanted to see this layout in action. Thanks for the show
@meshackkapsoiyo390
@meshackkapsoiyo390 3 жыл бұрын
Good work link for codes
@sayidaliahmedelmi7988
@sayidaliahmedelmi7988 5 жыл бұрын
nice t-shirt mitch
@codingwithmitch
@codingwithmitch 5 жыл бұрын
😎
@ahmadseptem2108
@ahmadseptem2108 3 жыл бұрын
thank you Mitch
@pulasthinarada6381
@pulasthinarada6381 4 жыл бұрын
Thank You Sir.
@thekochava
@thekochava 2 жыл бұрын
Link to docs from video developer.android.com/training/constraint-layout
@danielyamta8074
@danielyamta8074 6 ай бұрын
Thank you ❤
@ZtowhyA
@ZtowhyA 3 жыл бұрын
a big help says the one who hates designing.
@gabormiklay9209
@gabormiklay9209 5 жыл бұрын
the XML changed because of the the switch to kotlin.
@susanl.fensore1314
@susanl.fensore1314 2 жыл бұрын
Thank you!!
@nishaoberoi230
@nishaoberoi230 5 жыл бұрын
Thanks brother
@mysticbigmac8782
@mysticbigmac8782 2 жыл бұрын
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.
@SatyamRaikwar262238
@SatyamRaikwar262238 4 жыл бұрын
Nice 1
@pratyakshyt
@pratyakshyt 2 жыл бұрын
Thanks!
@oneonenice6119
@oneonenice6119 5 жыл бұрын
hello sir! : ))
@codingwithmitch
@codingwithmitch 5 жыл бұрын
Hello
@visibleuser8973
@visibleuser8973 2 жыл бұрын
thnx bro
@NiteshSingh-bv9lu
@NiteshSingh-bv9lu 5 жыл бұрын
hello thank you for share the knowledge . hello sir give me free api for movie Hollywood
@CanalRenaultClio
@CanalRenaultClio 3 жыл бұрын
I just think ConstrainLayout a completely waste of my time
@leonardosibela
@leonardosibela 5 жыл бұрын
Stop everything you're doing and talk about Coil, please. Thank you very much
@codingwithmitch
@codingwithmitch 5 жыл бұрын
I will in my next course or I'll make videos
@MSaga-ge7yw
@MSaga-ge7yw 4 жыл бұрын
lol i wasted 21 mins to see what i actually knw
@nishaoberoi230
@nishaoberoi230 5 жыл бұрын
Thanks brother
@codingwithmitch
@codingwithmitch 5 жыл бұрын
No problem pal
Kotlin Coroutines Beginner Example (Android)
23:12
CodingWithMitch
Рет қаралды 159 М.
CONSTRAINT LAYOUT BASICS - Android Fundamentals
14:02
Philipp Lackner
Рет қаралды 88 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
CapCut Mastery 6 Hour Full Course (2025)
5:56:30
AI Guy
Рет қаралды 5 М.
DO NOT do this in a Software Engineering Interview
7:59
CodingWithMitch
Рет қаралды 9 М.
Constraint Layout - Beginner's Guide to Android App Development
23:41
Modularizing Android Apps
18:16
CodingWithMitch
Рет қаралды 20 М.
iOS Development is Easier than Android Development (VLOG)
20:41
CodingWithMitch
Рет қаралды 52 М.
How to Support ALL Screen Sizes on Android - Full Guide
19:10
Philipp Lackner
Рет қаралды 115 М.
Android Data Binding: Getting Started
46:04
CodingWithMitch
Рет қаралды 98 М.
CHAINS AND GUIDELINES - Android Fundamentals
12:30
Philipp Lackner
Рет қаралды 53 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 82 М.