How to Support ALL Screen Sizes on Android - Full Guide

  Рет қаралды 110,994

Philipp Lackner

Philipp Lackner

Күн бұрын

In this video you will learn how you can support every screen size imaginable in native Android.
⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:
pl-coding.com/premium-courses...
💻 Let me personally review your code and provide individual feedback, so it won't backfire and cost you a fortune in future:
elopage.com/s/philipplackner/...
Get the source code for this video here:
github.com/philipplackner/Sup...
Regular Android tutorials on my Instagram: / _philipplackner_
Checkout my GitHub: github.com/philipplackner

Пікірлер: 220
@leandrocorrea4299
@leandrocorrea4299 3 жыл бұрын
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!
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Glad I could help!
@paulhinrichsen8628
@paulhinrichsen8628 2 жыл бұрын
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!
@flavouredflight8628
@flavouredflight8628 3 жыл бұрын
This Is What I Needed In My Current Project Bro, Thank You Very Much, Lots Of Love From India❤️
@BillyLegumbres
@BillyLegumbres Жыл бұрын
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”!
@singhguransh369
@singhguransh369 5 ай бұрын
Very well explained. Was searching for such concepts and Philipp did an amazing job explaining it.👍
@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!
@RodrigoGTomaz
@RodrigoGTomaz 3 жыл бұрын
Great info Philipp! Thank you very much for sharing!
@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?
@mehulbisht9708
@mehulbisht9708 3 жыл бұрын
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!
@UniversleOfficial
@UniversleOfficial 2 жыл бұрын
Thank you for your complete and comprehensive training. Very good!
@ggwp2414
@ggwp2414 3 жыл бұрын
Great explanation and very clear, been searching for a video that explains this for a while, thanks!
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Glad you enjoyed it!
@drashtipatel7368
@drashtipatel7368 3 жыл бұрын
I viewed many videos and docs but after seeing this video finally I reached to my destination 🤗 Thank you 😇
@msbrdmr
@msbrdmr Жыл бұрын
The most explanatory video about this topic I have ever found out. Thank you for all..
@ayoubdev
@ayoubdev 3 жыл бұрын
i was waiting for it thanks philip
@XxCruelRagexX
@XxCruelRagexX 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 Жыл бұрын
constraint layout is the best
@nilay.humorr
@nilay.humorr 2 жыл бұрын
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..
@muhammadhafidz1113
@muhammadhafidz1113 2 жыл бұрын
when using a vertical chain, could we define the space between each item in the chain?
@thejabberturtle
@thejabberturtle Жыл бұрын
Just fantastic, thanks so much
@2chotti
@2chotti Жыл бұрын
Marvelous video..Thank you so much.. subscribed your channel
@gobshafinw7183
@gobshafinw7183 3 жыл бұрын
Thank you so much! You have no idea how much it helped me!! So, again, From bottom of my heart, THANK YOU BUD!
@angelocanales9002
@angelocanales9002 Жыл бұрын
Man! you are awesome, this is just what i needed, i was using constraint layouts but i wasnt using its full potential
@vishalthapa1440
@vishalthapa1440 3 жыл бұрын
does constraint layout allow us to make fully flat hierarchy layouts or it helps to make layout flat as much as possible.This question came up in my mind because sometime i required to add nested layouts in constraint layout.
@petrow_
@petrow_ 2 ай бұрын
Thanks a lot for guidelines, Phill. Exactly what was looking for after swapping from making android plugins for unity straight to android studio
@davidcabreracepeda6105
@davidcabreracepeda6105 3 жыл бұрын
Wow great video!! Ive always had trouble with making my apps responsive, I finally know how to !!!
@blackhawk3855
@blackhawk3855 2 жыл бұрын
Life saver - to the point video and short
@ollysalanson9452
@ollysalanson9452 2 жыл бұрын
Brilliant video, thank you very much for your help!
@Anushguitars
@Anushguitars 2 жыл бұрын
Phillip How do you access different textviews based on if your app is in landscape mode. Ie. What if in my app there's a recyclerview in portrait mode but no recyclerview in landscape mode?
@iftak01
@iftak01 2 жыл бұрын
very unique and helpful vid bud!
@ivobabinec1968
@ivobabinec1968 3 ай бұрын
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 !
@Charalambides
@Charalambides 2 жыл бұрын
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!
@PhilippLackner
@PhilippLackner 2 жыл бұрын
Glad it was helpful!
@shadabfaizal
@shadabfaizal 3 жыл бұрын
as always great content. really helpful
@arrizalshidiq5660
@arrizalshidiq5660 3 жыл бұрын
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
@jonsnow9758
@jonsnow9758 3 жыл бұрын
Great tutorial so far... thanks!
@shivaakrish
@shivaakrish 3 жыл бұрын
Love from India
@70ME3E
@70ME3E 3 жыл бұрын
you're pretty darn good at explaining too, well structured and to the point presentation, quality videos congratz
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Thank you!
@MegaLasslo
@MegaLasslo 2 жыл бұрын
Best video on this topic I could find
@wave1863
@wave1863 3 ай бұрын
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?
@Aspiret620
@Aspiret620 Жыл бұрын
10/10 video, helped me big time with launching my app. danke!
@trickydotworld
@trickydotworld Жыл бұрын
This was just amazing. Thank you
@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 ♥️
@MSubbu88
@MSubbu88 3 жыл бұрын
how can we specify inner item height and width according to screen size in Recyclerview when we have multiple types of layout holders Recyclerview. Please help me.
@ramoverboard6093
@ramoverboard6093 2 жыл бұрын
Thank you sir! I've been wondering for a long time how to do this!
@bekjanomirzak224
@bekjanomirzak224 2 жыл бұрын
Hello, how about the size of letters or like words, how can I make them so that they behave the similiarily in all screen sizes?
@sabrinafeliz4822
@sabrinafeliz4822 3 жыл бұрын
thanks ; but in my case i create a table layout programmatically so i dont know how to adapte it to multi screen .how to do that please help me
@phatho3875
@phatho3875 3 жыл бұрын
I often use generated dimension in dimen folder. Is it good?
@EmirhanYilmaz_
@EmirhanYilmaz_ Жыл бұрын
Great job man, thanks!
@bitwisedevs469
@bitwisedevs469 8 ай бұрын
Can we delete the main layout with unspecified screen width after doing this on both dimension? Thanks!
@edwinbabymj1416
@edwinbabymj1416 3 жыл бұрын
can u please tell me the concept to set the screeen responsively, for a 6.4 inch phone and 5.0 inch phone, i've done it but image in the imageview is same in both devices.image is normal in 6.4 inch phone. but bigger in 5.0 inch phone..... it just does not fits to the screen
@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 жыл бұрын
I don't read it from start to end, I just scan it to quickly find what I look for, takes few minutes
@leonidas_30052
@leonidas_30052 3 жыл бұрын
what a wonderful video, thanks for existing!
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Thank you too!
@aravindor
@aravindor 3 жыл бұрын
It will be really helpful if you could explain the same with a recycler view . When we are creating layout for a single recycler view item, is there any way to accomplish the same without hard coding the h&w of the parent layout. If I need a vertical recycler view , constraining the width of the image with guide % and height with constraint dimensions ratio and then just setting the height of parent as wrap content is gonna work ? 🤔 I remember trying it once and doesn't works for me .
@codingtimelapses1839
@codingtimelapses1839 3 жыл бұрын
A recycler view inside a constraint layout will have the same behavior.
@anonymoususer1595
@anonymoususer1595 3 жыл бұрын
Much needed 😍 video thank you
@topwings2836
@topwings2836 3 жыл бұрын
Thank you very much for your valuable knowledge 👏👏
@BeyazBaron1
@BeyazBaron1 2 жыл бұрын
very useful information... thank you..
@learninghistory4397
@learninghistory4397 Жыл бұрын
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 9 ай бұрын
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!!
@ekowyamoah14
@ekowyamoah14 Жыл бұрын
This Is What I I have been looking for.!!, Thank You Very Much,
@ayoubdev
@ayoubdev 3 жыл бұрын
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 ?
@cheapcourses7203
@cheapcourses7203 3 жыл бұрын
Same
@user-cx1fg2ce6p
@user-cx1fg2ce6p Жыл бұрын
will it automatically choose the qualifier based on the emulator device you're testing? I added a qualifier with screen width of 400 and height of 800. But when I run the app using emulator with size 3.7", it still used the default xml. it didn't use the qualifer 400x800.
@sabrinafeliz4822
@sabrinafeliz4822 3 жыл бұрын
hello sir i am beginner in android after finished my application i found the same problem but in my case i used RelativeLayout (not constraintLayout ) and in my layout there are tables, buttons, edittext ....(not only image) can you help me sir
@missaklefa7692
@missaklefa7692 3 жыл бұрын
Please sir how can test with tablet (AVD) or how can i add a avd device(tablet) on Android studio
@javlontursunov6527
@javlontursunov6527 Жыл бұрын
Right now, do u have multiple android virtual devices installed on your android studio ?
@redfox6089
@redfox6089 3 жыл бұрын
Awesome!!! Many many thanks!!!!
@ChrisAthanas
@ChrisAthanas 3 жыл бұрын
Super helpful, now I understand chains
@lyawileh.a8741
@lyawileh.a8741 2 жыл бұрын
Thanks for this trick of building the responsive mobile layout.
@sabiterian
@sabiterian 3 жыл бұрын
I came here to see comments on Bezos's pic 😂
@harshmore6664
@harshmore6664 3 жыл бұрын
No Beff jezos 😂
@gansta476
@gansta476 2 жыл бұрын
😜😜
@pixelated-loser
@pixelated-loser 2 жыл бұрын
lmao same here🤣
@calixtoa3059
@calixtoa3059 3 жыл бұрын
Nice video bro. Thank you very much
@swaminathbera6407
@swaminathbera6407 3 жыл бұрын
You are the best!!!! Keep more Android coming.....
@rudreshsp3236
@rudreshsp3236 3 жыл бұрын
hi sir instead of creating separate layouts , how to accomplish using different dimesns folders and what is the calculation. plz make a video on that, helps me a lot, plz sir
@mehedihasansarik8427
@mehedihasansarik8427 3 жыл бұрын
Liked your video always before i watch it ❤️
@dunghoang5728
@dunghoang5728 Жыл бұрын
I sir, I want to ask you one question. If I work same you, when I release my project, My project will support all iphone, right?
@rudreshsp3236
@rudreshsp3236 3 жыл бұрын
hi sir , how to have different dimens folder,subfolder to support different resolutions plz help
@ricardoestrella95
@ricardoestrella95 3 жыл бұрын
Quick (maybe noob) question: when using multiple layouts variations if I use recyclerviews, edittexts and so on, do I have to use a different id for every item or can I use the same id so I don't need like A LOT of lines of code?
@codingtimelapses1839
@codingtimelapses1839 3 жыл бұрын
No the id is the same. Eg if you have a button in 3 different xml layouts the id of this button will be the same always.
@gabrielnoira3848
@gabrielnoira3848 2 жыл бұрын
what about textview, keeps changin my textview size when i rotate phone or change screen phone size, even if they are constraint to guidelines
@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 .
@shubhamshinde-lt7hr
@shubhamshinde-lt7hr 2 жыл бұрын
Thank you very much Philipp sir 🙏
@gauravgaikwad63
@gauravgaikwad63 2 жыл бұрын
❤️ 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 😅
@VenewebTV
@VenewebTV 2 жыл бұрын
Hello Phillip, I have the version of android studio chipmunk and I have not been able to import the Android Drawable Importer plugin, can you help me? Regards from Caracas, Venezuela
@Sam-yb9ut
@Sam-yb9ut Жыл бұрын
Super, Thanks brother
@mockingspyhd6099
@mockingspyhd6099 3 жыл бұрын
I want to put RecyclerView in the frames but I can't, It gives me NPE error :/
@ZaidZakir
@ZaidZakir 3 жыл бұрын
This is a superb video , a must watch for any beginner or intermediate devs. must watch
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Glad it was helpful!
@brunofelix8311
@brunofelix8311 3 жыл бұрын
God man!! Thank you for this video.
@mahendranv6264
@mahendranv6264 2 жыл бұрын
Awesome tut...:) Please Make a video about proper localization in android App...Philip Bro
@reshabprasad6793
@reshabprasad6793 3 жыл бұрын
Downloading it before sins report this😂
@julian-xy7gh
@julian-xy7gh 3 жыл бұрын
@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
@sudiptabhattacharya3712
@sudiptabhattacharya3712 3 жыл бұрын
Phillip your video is nice pls ..pls tell me one think how to make app lock functionality set to home screen only allow my app and also unlock as usual
@EnglishVisualWords
@EnglishVisualWords 3 жыл бұрын
You are lifesaver man.
@clearmemes3334
@clearmemes3334 Жыл бұрын
Thanks Bro, It worked for ME !!!!!!!!!
@leykunejigu7477
@leykunejigu7477 3 жыл бұрын
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 жыл бұрын
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 KZfaq, my future looks promising with your tutorials! Thank you!
@DerCheckerzeigts
@DerCheckerzeigts 3 жыл бұрын
One Question: When I try to do this and then include the layout, the height and widths don't work like expected? Do you know what might be the problem?
@iamnikhilmehta
@iamnikhilmehta 3 жыл бұрын
When you include a layout in any other layout, you have to define width and height there explicitly as well.
@iamkrishn
@iamkrishn 3 жыл бұрын
Amazing video. As always.
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Glad you enjoyed it!
@triihart
@triihart 2 жыл бұрын
I regret KZfaq doesn't allow to upvote more than once. Great tutorial!
@kishorramani007
@kishorramani007 3 жыл бұрын
Why add al images into v24 folder?
@dossymhan_aubakir
@dossymhan_aubakir 2 ай бұрын
Super Video!
@hossammaarek
@hossammaarek 2 жыл бұрын
That was really good...
@mrwaseemmalik5766
@mrwaseemmalik5766 2 жыл бұрын
Thank you 😊
@MMB3245
@MMB3245 2 жыл бұрын
This guy should win a Nobel Peace Prize for Relieving the stress of the public
@Sam-yb9ut
@Sam-yb9ut Жыл бұрын
Haha yea correct
@mehulbisht9708
@mehulbisht9708 3 жыл бұрын
I have seen this green frog stuff toy once, is that some popular cartoon?
@pratikchauhan989
@pratikchauhan989 3 жыл бұрын
Truly amazingggg
@yashverma7084
@yashverma7084 3 жыл бұрын
Thanks bro thanks a lot
@sweetcookitalys5700
@sweetcookitalys5700 Жыл бұрын
Thanks💚💚
How to Support All Screen Sizes in Jetpack Compose
11:57
Philipp Lackner
Рет қаралды 27 М.
Implementing Android apps for all screen sizes
13:53
Android Developers
Рет қаралды 33 М.
The child was abused by the clown#Short #Officer Rabbit #angel
00:55
兔子警官
Рет қаралды 24 МЛН
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 10 МЛН
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 44 МЛН
Support Multiple Screen Sizes - Android Studio Tutorial
8:20
Stevdza-San
Рет қаралды 97 М.
Compose: Implementing responsive UI for larger screens
18:28
Android Developers
Рет қаралды 9 М.
Lifecycle - Jetpack Compose
1:12
Esli Rodrigues
Рет қаралды 152
The child was abused by the clown#Short #Officer Rabbit #angel
00:55
兔子警官
Рет қаралды 24 МЛН