How to Support ALL Screen Sizes on Android - Full Guide

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024

Комментарии • 220

  • @leandrocorrea4299
    @leandrocorrea4299 3 года назад +64

    I was looking for bronze, but I found PURE GOLD! Brother, I've been searching for this a lot. In fact, I am a frontend web developer turning to the Android world. Amazing content, I am falling in love with Android development even more than web development. Keep it up!

  • @flavouredflight8628
    @flavouredflight8628 3 года назад +11

    This Is What I Needed In My Current Project Bro, Thank You Very Much, Lots Of Love From India❤️

  • @BillyLegumbres
    @BillyLegumbres Год назад +2

    Like a great philosopher of our era once said “GREAT SUCCESS”, easy to follow, easy to read, no weight heavy plugins, is just what I crave, totally gonna hang around in your channel with such delightful display of a “ABSOLUTE BOMBASTIC TUTORIAL”!

  • @learninghistory4397
    @learninghistory4397 Год назад +4

    You saved my project with this one. Much love to you for sharing your knowledge. Anyways, I'll share what I did:
    Disclaimer: this might sound stupid for a pro, but it worked for me so I am happy with it as of today.
    I used 4 guideLine constraints for each of my objects. One for the left side, another for the right side, top and bottom. Setting this values for each object:
    android:layout_width="0dp"
    android:layout_height="0dp"
    This makes the objects keep whatever shape I manually gave them before setting the constraints, they get resized according to the screen size, but always keeping the original shape. I end up having lots of guideLines, of course, but it doesn't seem to be a problem, so I rock with it.
    Btw, some objects get to share the same guideLine because of them colliding on the Y or X axis, so it's not 4 guideLines per object in the end.

    • @bhaskarkaura4507
      @bhaskarkaura4507 10 месяцев назад

      I also do somewhere near to what you said and it automatically fits most screens as nothing is hard coded but one issue is the text size and image quality then!!

  • @paulhinrichsen8628
    @paulhinrichsen8628 3 года назад +7

    Absolutely BRILLIANT! SO well explained. I did not know that it was so easy to handle different screen sizes and orientations. There are some tutorials out there that do this in a very complicated way. Well done Sir!

  • @Charalambides
    @Charalambides 2 года назад +1

    I am speechless by how good this video is. I'm new to Android App making and self learning.... I didn't even know this was an issue, just updated all my apps now with the help of this video!

  • @XxCruelRagexX
    @XxCruelRagexX 2 года назад +2

    You have no idea how helpful this video was. Im working on an app for my IT capstone class in college and I started the project with RelativeLayout and realized watching this video I messed up. You made this extremely easy how constraint layout works. Seriously the biggest help ever, thank you. You earned the sub for sure.

    • @PhilippLackner
      @PhilippLackner  2 года назад

      Glad it was helpful!

    • @msbrdmr
      @msbrdmr 2 года назад

      constraint layout is the best

  • @singh.guransh
    @singh.guransh 7 месяцев назад +1

    Very well explained. Was searching for such concepts and Philipp did an amazing job explaining it.👍

  • @reshabprasad6793
    @reshabprasad6793 3 года назад +14

    Downloading it before sins report this😂

    • @julian-xy7gh
      @julian-xy7gh 3 года назад +1

      @Aaron Stipek these always come in pairs on promising an Instagram hack and another account claiming it seems promising and they are willing to try it.
      F*ck off mate

  • @mehulbisht9708
    @mehulbisht9708 3 года назад +1

    Don't know if you got the idea from me and other guys struggling on your discord server yesterday, but you just read my mind! Thanks a lot philipp for all your tutorials!

  • @sabiterian
    @sabiterian 3 года назад +56

    I came here to see comments on Bezos's pic 😂

  • @drashtipatel7368
    @drashtipatel7368 3 года назад +1

    I viewed many videos and docs but after seeing this video finally I reached to my destination 🤗
    Thank you 😇

  • @ivobabinec1968
    @ivobabinec1968 5 месяцев назад

    The Best, simple, comprehensive tutorial..
    If I found earlier, i saved so much time.
    It is not so intuitive in Android Studio but here is so..OMG.
    Thanks man !

  • @ggwp2414
    @ggwp2414 3 года назад +1

    Great explanation and very clear, been searching for a video that explains this for a while, thanks!

  • @msbrdmr
    @msbrdmr 2 года назад

    The most explanatory video about this topic I have ever found out. Thank you for all..

  • @MMB3245
    @MMB3245 2 года назад +2

    This guy should win a Nobel Peace Prize for Relieving the stress of the public

  • @petrow_
    @petrow_ 4 месяца назад

    Thanks a lot for guidelines, Phill. Exactly what was looking for after swapping from making android plugins for unity straight to android studio

  • @DerCheckerzeigts
    @DerCheckerzeigts 3 года назад

    Amazing, thank you very much. This is exactly what I need for my current project. Your contents are amazing and help the android community very much!

  • @ayoubdev
    @ayoubdev 3 года назад

    i was waiting for it thanks philip

  • @ayoubdev
    @ayoubdev 3 года назад +8

    so if i have a 10 page in my app do i need to create every time 4 sizes (320,480,600,720) and then do same in landscape mode two ?? so every page i have to ovvride it 8 times ?

  • @angelocanales9002
    @angelocanales9002 Год назад

    Man! you are awesome, this is just what i needed, i was using constraint layouts but i wasnt using its full potential

  • @chiragpatel6410
    @chiragpatel6410 3 года назад +7

    Like for thumbnail 😀😀

  • @triihart
    @triihart 2 года назад

    I regret RUclips doesn't allow to upvote more than once. Great tutorial!

  • @go_better
    @go_better 2 года назад

    This....thumbnail...Is the peak humour)) Made me curious and smiling)

  • @iftak01
    @iftak01 3 года назад +1

    very unique and helpful vid bud!

  • @gobshafinw7183
    @gobshafinw7183 3 года назад +1

    Thank you so much! You have no idea how much it helped me!! So, again, From bottom of my heart, THANK YOU BUD!

  • @nilay.humorr
    @nilay.humorr 3 года назад

    Thank you for sharing this content! I learned a lot from this video and will implement this at my internship and will soon be pushed to the play store.

  • @nehankpoilkar9641
    @nehankpoilkar9641 3 года назад

    Thnx Philip.. Great content as always..!! ♥ Keep up the good work..

  • @70ME3E
    @70ME3E 3 года назад

    you're pretty darn good at explaining too, well structured and to the point presentation, quality videos
    congratz

  • @UniversleOfficial
    @UniversleOfficial 2 года назад

    Thank you for your complete and comprehensive training. Very good!

  • @nayannit
    @nayannit 2 года назад

    Hi bro.. Thanks for the great work you for the community.. Your coding and explanation skills are very good... Love from India ♥️

  • @Aspiret620
    @Aspiret620 2 года назад

    10/10 video, helped me big time with launching my app. danke!

  • @RodrigoGTomaz
    @RodrigoGTomaz 3 года назад

    Great info Philipp! Thank you very much for sharing!

  • @shivaakrish
    @shivaakrish 3 года назад

    Love from India

  • @swaminathbera6407
    @swaminathbera6407 3 года назад

    You are the best!!!! Keep more Android coming.....

  • @thejabberturtle
    @thejabberturtle Год назад

    Just fantastic, thanks so much

  • @MegaLasslo
    @MegaLasslo 2 года назад

    Best video on this topic I could find

  • @blackhawk3855
    @blackhawk3855 2 года назад

    Life saver - to the point video and short

  • @anshumanyadav24816
    @anshumanyadav24816 Год назад

    You are perfectly awesome bro , and love it when you give link to the project so that we can play with the codes and understands it in much better way . THANKYOUUUU SOO MUCH FOR BEING SO NICE .

  • @davidcabreracepeda6105
    @davidcabreracepeda6105 3 года назад

    Wow great video!! Ive always had trouble with making my apps responsive, I finally know how to !!!

  • @Ilamarea
    @Ilamarea 2 года назад

    RxJava and Databinding series would be great for anyone hoping to actually get a job in the industry.

  • @ZaidZakir
    @ZaidZakir 3 года назад

    This is a superb video , a must watch for any beginner or intermediate devs. must watch

  • @gauravgaikwad63
    @gauravgaikwad63 3 года назад +1

    ❤️ loved it. I just have 2 questions
    1. How to design these type of layout with recycler view.
    2. If any layout has missing view like in video one layout file had only 3 imageview how to setup click listeners 😅

  • @priyanshugupta7904
    @priyanshugupta7904 2 года назад

    Maja aa gaya bhai... ultimate🥏

  • @leonidas_30052
    @leonidas_30052 3 года назад

    what a wonderful video, thanks for existing!

  • @shadabfaizal
    @shadabfaizal 3 года назад

    as always great content. really helpful

  • @kunalkotiyal9566
    @kunalkotiyal9566 2 года назад

    "Docs in your area" with that thumbnail 😂😂

  • @charlottehuntington9506
    @charlottehuntington9506 2 года назад +1

    I came here cz of Dr. jonny sir😂😂😂

  • @jonsnow9758
    @jonsnow9758 3 года назад

    Great tutorial so far... thanks!

  • @brunofelix8311
    @brunofelix8311 3 года назад +1

    God man!! Thank you for this video.

  • @EmirhanYilmaz_
    @EmirhanYilmaz_ Год назад

    Great job man, thanks!

  • @trickydotworld
    @trickydotworld Год назад

    This was just amazing. Thank you

  • @mehedihasansarik8427
    @mehedihasansarik8427 3 года назад

    Liked your video always before i watch it ❤️

  • @clearmemes3334
    @clearmemes3334 Год назад

    Thanks Bro, It worked for ME !!!!!!!!!

  • @ollysalanson9452
    @ollysalanson9452 2 года назад

    Brilliant video, thank you very much for your help!

  • @ekowyamoah14
    @ekowyamoah14 Год назад

    This Is What I I have been looking for.!!, Thank You Very Much,

  • @2chotti
    @2chotti Год назад

    Marvelous video..Thank you so much.. subscribed your channel

  • @ramoverboard6093
    @ramoverboard6093 2 года назад

    Thank you sir! I've been wondering for a long time how to do this!

  • @anonymoususer1595
    @anonymoususer1595 3 года назад

    Much needed 😍 video thank you

  • @lyawileh.a8741
    @lyawileh.a8741 2 года назад

    Thanks for this trick of building the responsive mobile layout.

  • @iamkrishn
    @iamkrishn 3 года назад

    Amazing video. As always.

  • @redfox6089
    @redfox6089 3 года назад

    Awesome!!! Many many thanks!!!!

  • @leykunejigu7477
    @leykunejigu7477 3 года назад +1

    I can't suffice my gratitude for making me a better developer. keep it up! and if am not mistaken we should use a combination of horizontal and vertical guidelines
    for views with different width and height sizes right? and also what should we do for text sizes?

    • @PhilippLackner
      @PhilippLackner  3 года назад +4

      Yes correct, for text sizes you use sp, which will differ depending on the user's font size preference. AFAIK you can also declare sizes in a dimens xml file and for that you can use qualifiers as well

    • @leykunejigu7477
      @leykunejigu7477 3 года назад

      @@PhilippLackner glad i have you on RUclips, my future looks promising with your tutorials! Thank you!

  • @dossymhan_aubakir
    @dossymhan_aubakir 4 месяца назад

    Super Video!

  • @Sj-yf2jg
    @Sj-yf2jg 3 года назад

    Thumbnail took the credit 😂

  • @EnglishVisualWords
    @EnglishVisualWords 3 года назад

    You are lifesaver man.

  • @wave1863
    @wave1863 5 месяцев назад +1

    so theres no chance the buttons, spinners and texts change automatically their size depending on the screen if i dont manually create different layouts for those range of screen sizes?

  • @rpitpatel1004
    @rpitpatel1004 2 года назад

    Your thumbnail is funny. 😄

  • @BeyazBaron1
    @BeyazBaron1 2 года назад

    very useful information... thank you..

  • @mahendranv6264
    @mahendranv6264 3 года назад

    Awesome tut...:)
    Please Make a video about proper localization in android App...Philip Bro

  • @subhambiswas3967
    @subhambiswas3967 3 года назад

    Thumbnail is epic

  • @pejmanazad5852
    @pejmanazad5852 3 года назад +1

    I hope this year "Jetpack compose" save us :)

  • @pratikchauhan989
    @pratikchauhan989 3 года назад

    Truly amazingggg

  • @calixtoa3059
    @calixtoa3059 3 года назад

    Nice video bro. Thank you very much

  • @topwings2836
    @topwings2836 3 года назад

    Thank you very much for your valuable knowledge 👏👏

  • @shubhamshinde-lt7hr
    @shubhamshinde-lt7hr 2 года назад

    Thank you very much Philipp sir 🙏

  • @Sam-yb9ut
    @Sam-yb9ut Год назад

    Super, Thanks brother

  • @calvindeceuster878
    @calvindeceuster878 2 года назад

    great guide! they don't teach this anywhere else :)

  • @ChrisAthanas
    @ChrisAthanas 3 года назад

    Super helpful, now I understand chains

  • @David-gu8hv
    @David-gu8hv 3 года назад

    This helps, thanks!

  • @re_allyedge
    @re_allyedge 3 года назад

    Yooo, its da doctoooooor 😎😎😎

  • @prasanthmanimaran5158
    @prasanthmanimaran5158 3 года назад

    Johnny Sins thumbnail HAHAHAHA 😂😂😂 well played

  • @sweetcookitalys5700
    @sweetcookitalys5700 Год назад +1

    Thanks💚💚

  • @hossamqandel5303
    @hossamqandel5303 2 года назад

    I came here from same video content on compose ♥️😂

  • @hossammaarek
    @hossammaarek 2 года назад

    That was really good...

  • @emanuelmakhanu8901
    @emanuelmakhanu8901 2 года назад +1

    Johny led me here😂

  • @vibhu613
    @vibhu613 2 года назад

    ❤❤great job❣️❣️

  • @arrizalshidiq5660
    @arrizalshidiq5660 3 года назад +2

    do u mind making tutorial how to split layout file in xml ? it's irritating to have all many files in 1 folder. Thank you

  • @girishbhagwat9538
    @girishbhagwat9538 2 года назад

    best explained ...

  • @emmanuelpregnolato5026
    @emmanuelpregnolato5026 3 года назад

    Brilliant!

  • @h.r.60
    @h.r.60 3 года назад

    Hey Philipp, when you're learning new Android info, on average, how long would you say you spend on reading documentation? Do you read it at all? If so, Does it take hours for you to understand? Or does it all make sense fairly quickly? Thanks

    • @PhilippLackner
      @PhilippLackner  3 года назад +2

      I don't read it from start to end, I just scan it to quickly find what I look for, takes few minutes

  • @sedolon_5931
    @sedolon_5931 3 года назад

    Cool video,
    I really like you spoke so clearly about the ConstraintLayout! How exactly do you manage it to avoid nested layouts. In my case, I need the constraint to parent feature. CardViews do not have this property.
    Any suggestions?

  • @funnymoment9164
    @funnymoment9164 3 года назад

    Thanks!

  • @mrwaseemmalik5766
    @mrwaseemmalik5766 2 года назад

    Thank you 😊

  • @shreyashachoudhary480
    @shreyashachoudhary480 3 года назад

    Epic!

  • @neerajbhatt3153
    @neerajbhatt3153 3 года назад

    Thumbnail op😂

  • @user-uy4vs2vm8m
    @user-uy4vs2vm8m 3 года назад +1

    Thanks

  • @jenoskon6269
    @jenoskon6269 2 года назад

    thank you nice video

  • @d.ndriotis9209
    @d.ndriotis9209 2 года назад

    11:30 - Qualifiers

  • @yashverma7084
    @yashverma7084 3 года назад

    Thanks bro thanks a lot