Resources & Qualifiers - Android Basics 2023
ฝัง
- เผยแพร่เมื่อ 6 ก.พ. 2025
- In this video, you'll learn about accessing resourcs in Android such as images, strings or colors.
⭐ 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/...
🎁 Get my FREE 4.5h course "The Best Practice Guide to Android Architecture":
pl-coding.com/...
Read our weekly Android blog:
pl-coding.com/...
💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:
pl-coding.com/...
Subscribe to my FREE newsletter for regular Android, Kotlin & Architecture advice!
pl-coding.com/...
Join this channel to get access to perks:
/ @philipplackner
Get the source code for this video here:
github.com/phi...
Join my Discord server:
/ discord
Regular programming advice on my Instagram page: / _philipplackner_
Checkout my GitHub: github.com/phi...
You like my free content? Here you can buy me a coffee:
www.buymeacoff...
At first when I saw this new playlist I kinda brushed it off thinking that it would be so basic for me but wow, ever since I started watching it from the beginning, I've learned so many things I can't even believe it. Thank you so much Phillip, you've saved me a lot of dog years from doing so many things wrongly😂
Thanks!
That was actually very interesting, I didn't know about this night drawable thing
Excellent Android tutorial for novice programmers. It's accessible, beneficial, and straightforward. As a seasoned developer, I find it very engaging. However, I observed you've inserted a substantially large bitmap file into the 'drawable' resources folder without using a qualifier, and this detail was left unaddressed in the video. This could potentially lead to visual or performance-related issues within your app on varied devices, as these can have differing screen resolutions and pixel densities.
Android's system automatically scales bitmap files located in the 'drawable' directory that lack a density qualifier, adjusting them to the device's screen density. This can inadvertently cause distortion or blurring of images, and in extreme cases, lead to crashes from Out Of Memory (OOM) errors, especially if, for instance, your 960p image gets upscaled three times when loaded on an xxhdpi screen.
To circumvent this, which I'm confident you're aware of, it's advisable to generate different versions of your bitmap file that correspond to various screen densities, and allocate them to designated folders with appropriate qualifiers (hdpi, xhdpi, etc.). Alternatively, placing such bitmaps under the 'nodpi' qualifier ensures they won't be unnecessarily upscaled by the system. The 'drawable' resource folder is ideally reserved for vector graphics.
I hope you find my feedback beneficial and look forward to more of your content. 👍
Thanks, it was useful
Legend Stuff, Thx Philipp for keeping us up to date
Thankyou so much brother ❤
I'm completely new to android development as in I just started 2 days ago. And I'm confused. Is Jetpack Compose a new way of doing mobile development? And the old traditional way was with XML layout files? Which one is easier to make apps with?
Yes, there are 2 ways to build a project, first one is the XML way , The second one is Jetpack Compose. I recommend you to start coding with Jetpack compose because its basicly the future of kotlin, Its easier and faster.
I would start with Phillips compose basics videos
Yes xml is the deprecated way of creating view layouts on android and it was painful to deal with once you tried to do animation
@@ChrisAthanas xml is not deprecated in any way. it's still totally valid and the majority of code out there in production is still using it. compose is just newer and for the most part nicer for many things.
You're a pretty good teacher, I just love watching your videos to see your way even though I know what to do.
What about challenging the android yt channel with your own PL MAD Skills playlist? 🙃
Hi, Philipp. Your videos are awesome, very clear and concise. Could you please provide us with more video about theme with m3 and vector and image drawables samples for img/svg resources of different sizes. I cant figure out exactly to pick which of them and when. And I cant also figure out best practices how to handle icons with different sizes. Thank you.
Bro knows what we need 👍
Here is a quick tip to improve your English. We say “how it looks” and “what it looks like”, but we never say “how it looks like”. At 4:08 the correct English would be “‘what’ your app looks like”, or “‘how’ your app looks”. Also later in the video 10:28 you say “I don’t know ‘how’ these folders are called. That should be “‘what’ they are called”. Thanks for the videos, they are really helpful.
Half the battle on android is wading thru all the legacy technical decisions that were just mostly quick hacks to patch over the MANY and VARIED design flaws on android.
Pure compose devs will never know the pain
The video is excellent please also try to add the timeStamp on the video for easy navigation to specific part of the video
another great tutorial from philipp thanks
Thanks. great explanation of qualifiers.
You are my actual inspiration Phillip 💙
This guy is so perfect huge respect to you
.....
Love from india 🇮🇳
Thanks for your content man! Appreciate it!
Thank you so much for this video. Amazing content as usual.
Thank you thank you man. I appreciate you 4real
Thanks for the video. It would be cool if you did a camerax tutorial with jetpack compose!
Thanks for this amazing content, Philipp. Keep it up!
Love your content❤
Thank you ✨
Thanks
another great video. you're great
Love You❤️
Thanks, Bro
Thank You..
Great 🔥
how did he open that tab at 1:28? can anyone please help me out?
I have a question, I don't know how to convert XD file or Figma to a respinsive design in Jetpack Compose or even XML, Should I convert each pixel value to dp or WHAT?
I hope you answer my question.
Thanks 🤍
great video .
The themes.xml is still important for system stuff which is not rendered by Jetpack Compose, like splash screens
Goat
❤
Hello I saw your drag and drop tutorial and wanted to ask if we can animate the shadow as well while it is dragged? If so, could you give me some pointers as to how it can be achieved? I would appreciate your help. thank you.
What is the difference between context and applicationContext?
What android studio theme is this?
Tidak masalah ANDROID GENOSIDA di Uji Coba di Indonesia,.kalau di butuhkan akan di perluas di seluruh negara dunia.🎉
You know your "Buy me a coffee" link is broken?
First 🥇
What is your Telegram? or Where can I find it? I got a comment reply for you to talk on Telegram. Please let me know, thank you.