ConstraintLayout Tutorial Part 1 – UNDERSTANDING CONSTRAINTS – Android Studio Tutorial

49
2



In this video series we are going to learn, how to use the ConstraintLayout, which is basically an improved RelativeLayout with a flatter view hirarchy, better performance and more functionality.

In this video we will learn, how to convert an existing layout into a ConstraintLayout, how to set and delete constraints, use the infer constraints and autoconnect functionality, switch between wrap_content, match_constraint and fixed size, change the margin and bias and everything else we need to get started with ConstraintLayout.

Watch the full playlist:

____________________
❗ Subscribe to the channel:

⏯ Watch more tutorials:

㊙ Help translating the videos:

💚 Support the content:

💬 Join the Discord chat:

🎧 Audiobooks and podcasts for programmers:

👶 How to get started with Android development:

📣 Follow Coding in Flow on social media:

Facebook:

Instagram:

Twitter:

Blog:

Nguồn: https://freecode.com.vn/

49 COMMENTS

  1. SY BSc CS Student XD Sem 4 almost to end now.
    Android developer fundamentals got me to teach only 1 thing so far
    Wrap content , when we drag it to the edges 😹

  2. I watch a lot of tutorials and I never subscribe to them, unless from that I did on this video for the two words you said it at the end…

  3. Making margins as hardcoded values (as pixels) seems a bad choice to me. I have 1080pix width in Android Studio. I set margins 32.
    But if I'll run on my real device 320pix width, suddenly, margins take 20% of space. Wouldn't be better to make everything in percentage?

  4. Why ConstraintLayout is represented as the modern way compared to other simple layouts (such as LinearLayout, ect)? Apple, on the contrary, switched to recursive simple layouts in their latest Swift UI. Flutter on Android ipmlements same simple recursive way too (and they call it – the framework of future).

    So, which way really is the most modern?

  5. Thank you, this help solve my problem. See, I didn't know how to set the constraints so the app either ends up moving all items to the coordinates (0,0) or some things ended up going missing

  6. Really good video. I like the way you make it easy. There is a ton of videos about android development but many complicate things when in reality it's much easier. Your videos make it easier.
    Thanks!.

  7. Danke. I love your tutorials. They are concise and comprehensive. I am almost done with my first app thanks to your videos.

  8. What a great video! Not only can I improve my jerman akzent a liddle bid morr, it also delivers on point and very concise the information I needed! Sank u!

  9. Excellent tutorial. Watching a few of your tutorials helped me to develop an app even if i don't know anything about Android Studio and Java. Thanks.

  10. Great videos! I code primarily in Swift/own and use iOS and your videos have helped me conform to android standards quite a bit! (more so than university teachings) Thank you for the excellent information

LEAVE A REPLY

Please enter your comment!
Please enter your name here