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!
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”!
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!
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.
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!!
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!
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.
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?
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 !
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 ?
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!
❤️ 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 😅
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.
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.
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 .
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
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.
@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
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?
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
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?
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
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?
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
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
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.
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?
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
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?
By creating layouts for different screen size it will increase the size of an app right? I think by linear layout we can achieve by using weight and also by using relative layout we can achieve this only by creating one XML file layout. What do you think?.
Nah you should avoid using linear layout because you usually need to nest them which isn't good performance wise. Constraint layout already makes your app pretty responsive, but no layout can cover everything for every scenario. That's when you need different files. It won't really increase the size as well because if you export it as app bundle, Google play will only include the files needed for a user's device
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!
Glad I could help!
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”!
This Is What I Needed In My Current Project Bro, Thank You Very Much, Lots Of Love From India❤️
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!
Glad it was helpful!
Thank you very much I was searching for days, literally, for an easy tutorial on responsive layout. Subscribed!
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.
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!!
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!
Very well explained. Was searching for such concepts and Philipp did an amazing job explaining it.👍
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.
Glad it was helpful!
constraint layout is the best
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?
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 !
Thanks a lot for guidelines, Phill. Exactly what was looking for after swapping from making android plugins for unity straight to android studio
The most explanatory video about this topic I have ever found out. Thank you for all..
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 ?
Same
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!
I viewed many videos and docs but after seeing this video finally I reached to my destination 🤗
Thank you 😇
This guy should win a Nobel Peace Prize for Relieving the stress of the public
Haha yea correct
Man! you are awesome, this is just what i needed, i was using constraint layouts but i wasnt using its full potential
10/10 video, helped me big time with launching my app. danke!
Great explanation and very clear, been searching for a video that explains this for a while, thanks!
Glad you enjoyed it!
I regret RUclips doesn't allow to upvote more than once. Great tutorial!
❤️ 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 😅
Thank you for your complete and comprehensive training. Very good!
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!
Best video on this topic I could find
Thanks for this trick of building the responsive mobile layout.
This is a superb video , a must watch for any beginner or intermediate devs. must watch
Glad it was helpful!
Life saver - to the point video and short
RxJava and Databinding series would be great for anyone hoping to actually get a job in the industry.
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.
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.
i was waiting for it thanks philip
Thank you sir! I've been wondering for a long time how to do this!
very unique and helpful vid bud!
you're pretty darn good at explaining too, well structured and to the point presentation, quality videos
congratz
Thank you!
Wow great video!! Ive always had trouble with making my apps responsive, I finally know how to !!!
Thank you so much! You have no idea how much it helped me!! So, again, From bottom of my heart, THANK YOU BUD!
Hi bro.. Thanks for the great work you for the community.. Your coding and explanation skills are very good... Love from India ♥️
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 .
Great info Philipp! Thank you very much for sharing!
You are the best!!!! Keep more Android coming.....
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
Right now, do u have multiple android virtual devices installed on your android studio ?
Just fantastic, thanks so much
Thnx Philip.. Great content as always..!! ♥ Keep up the good work..
Love from India
Brilliant video, thank you very much for your help!
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
I don't read it from start to end, I just scan it to quickly find what I look for, takes few minutes
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?
Marvelous video..Thank you so much.. subscribed your channel
what a wonderful video, thanks for existing!
Thank you too!
I came here cz of Dr. jonny sir😂😂😂
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.
Awesome tut...:)
Please Make a video about proper localization in android App...Philip Bro
Downloading it before sins report this😂
@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
Can we delete the main layout with unspecified screen width after doing this on both dimension? Thanks!
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?
Great job man, thanks!
what about textview, keeps changin my textview size when i rotate phone or change screen phone size, even if they are constraint to guidelines
Great tutorial so far... thanks!
Like for thumbnail 😀😀
This....thumbnail...Is the peak humour)) Made me curious and smiling)
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
Super helpful, now I understand chains
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?
as always great content. really helpful
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
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
Liked your video always before i watch it ❤️
God man!! Thank you for this video.
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?
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
@@PhilippLackner glad i have you on RUclips, my future looks promising with your tutorials! Thank you!
I came here to see comments on Bezos's pic 😂
No Beff jezos 😂
😜😜
lmao same here🤣
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
Thanks Bro, It worked for ME !!!!!!!!!
Maja aa gaya bhai... ultimate🥏
Amazing video. As always.
Glad you enjoyed it!
Much needed 😍 video thank you
You are lifesaver man.
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?
great guide! they don't teach this anywhere else :)
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.
I want to put RecyclerView in the frames but I can't, It gives me NPE error :/
not sure why guidelines aren't by a percent by default.
I always make it so
Awesome!!! Many many thanks!!!!
Nice video bro. Thank you very much
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?
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.
Thank you very much Philipp sir 🙏
Thank you very much for your valuable knowledge 👏👏
I don't know how I get here, (I aint speak english) but I really nedeed this video, thanks 😁
I hope this year "Jetpack compose" save us :)
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
I have seen this green frog stuff toy once, is that some popular cartoon?
very useful information... thank you..
anyone ever manage to get a 3840x2160 project to export in android? it also seems to respond to something small even though the device can handle it
Thanks for your amazing video. Is there any way to show all layouts at the same time on the design view? more than 1M Like ...
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?
When you include a layout in any other layout, you have to define width and height there explicitly as well.
Your thumbnail is funny. 😄
By creating layouts for different screen size it will increase the size of an app right? I think by linear layout we can achieve by using weight and also by using relative layout we can achieve this only by creating one XML file layout. What do you think?.
Nah you should avoid using linear layout because you usually need to nest them which isn't good performance wise. Constraint layout already makes your app pretty responsive, but no layout can cover everything for every scenario. That's when you need different files. It won't really increase the size as well because if you export it as app bundle, Google play will only include the files needed for a user's device
@@PhilippLackner thanks a lot.. you clear my doubts
Please sir how can test with tablet (AVD) or how can i add a avd device(tablet) on Android studio
when using a vertical chain, could we define the space between each item in the chain?