The Ultimate guide to supporting all screen sizes in Jetpack Compose using Material 3 design

  Рет қаралды 9,417

Land of coding

Land of coding

Жыл бұрын

Follow me on Instagram → / lofcoding
GitHub → github.com/mohammednawas8
LinkedIn profile → bit.ly/3l66EVg
Check out my Playlists → bit.ly/3FFX1q5
Login screen video → / watchv=tcbawdwupju
Design repository → github.com/lofcoding/ComposeL...
Window size class Dependency:
implementation "androidx.compose.material3:material3-window-size-class:1.1.0"
Want to support Land of coding? you can buy me a coffee → www.buymeacoffee.com/landofcodiq

Пікірлер: 21
@Landofcoding
@Landofcoding Жыл бұрын
Join our small android discord community discord.gg/snFzU9dZqz Make sure to say Hi when you join 😁
@x86xFX
@x86xFX Жыл бұрын
Subbed, Thank you
@henrik908
@henrik908 6 ай бұрын
How to make the Text Responsive ??
@tylerbrecht-eq5zs
@tylerbrecht-eq5zs 8 ай бұрын
Where can I find this code? Can't find it in the links provided
@Landofcoding
@Landofcoding 8 ай бұрын
Switch to support-screen-sizes branch
@ayoubdev
@ayoubdev 6 ай бұрын
can you please for testing give us the emulator you use in this video with every specific dimension class please
@Landofcoding
@Landofcoding 6 ай бұрын
I forgot what emulators i used, but from what i remember Pixel2 pixel6 and any tablet for large screen sizes
@allanandliftedhands2669
@allanandliftedhands2669 11 ай бұрын
what is the name of the repository in github
@Landofcoding
@Landofcoding 11 ай бұрын
Its in the description
@anasfarhad2845
@anasfarhad2845 7 ай бұрын
Is this the best approach out there because lets say we want to target 20 android smartphone only devices with all having different screen sizes and resolution then having all the button sizes, spacing between UI components for all 20 devices can be a real time consuming process for just one screen. Is there an API that can handle it automatically or we have to go with this approach?. Let me know please because whenever I work on UI I come into this problem quite often.
@Landofcoding
@Landofcoding 7 ай бұрын
Actually, if you have a good ui design that sticks to the android ui guidelines, you won't need this. But i use this way when the screen is complex and should look good for all the sizes. I don't know if this is the best approach but im sure that there are different and easier approaches and i will make sure to make videos about that when i get more info about it
@hangyeollee-creuset5108
@hangyeollee-creuset5108 7 ай бұрын
What is the good UI design for an example ? Thanks a lot for your contribution
@anasfarhad2845
@anasfarhad2845 7 ай бұрын
@@hangyeollee-creuset5108 I also wants to know.
@Landofcoding
@Landofcoding 7 ай бұрын
@@hangyeollee-creuset5108 thats the designer's job, take a look at snapchat, facebook, instagram
@leonelp9593
@leonelp9593 Күн бұрын
I thinks there is an easier way (kinda) which is Using ConstraintLayout and work with percentages only
@bolero9932
@bolero9932 Ай бұрын
why dont you allow us to save your vid into my playlists???
@aleksandrnikolaev2914
@aleksandrnikolaev2914 6 ай бұрын
Why couldn't the jetpack compose designer make the dimensions in percentages like in html so that we wouldn't have to suffer from assigning dimensions for each individual screen?
@Landofcoding
@Landofcoding 6 ай бұрын
You can use that, but u sometimes you have to pass static value not a ratio, and you cant pass ratio to a text for example
@aleksandrnikolaev2914
@aleksandrnikolaev2914 6 ай бұрын
@@Landofcoding what exactly can I use you said? As far as I know, there are no percentages or anything like that in jetpack compose, right?
@Landofcoding
@Landofcoding 6 ай бұрын
@@aleksandrnikolaev2914 There are these modifiers : fillMaxSize(ratio: Float) fillMaxWidth(ratio: Float) fillMaxHeight(ratio: Float) and also the weight() modifier which can be used inside rows and columns
Jetpack compose Previews
4:49
Land of coding
Рет қаралды 683
How to Support All Screen Sizes in Jetpack Compose
11:57
Philipp Lackner
Рет қаралды 28 М.
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 27 МЛН
ТАМАЕВ УНИЧТОЖИЛ CLS ВЕНГАЛБИ! Конфликт с Ахмедом?!
25:37
The ULTIMATE Guide to Sharing Data Between Screens in Jetpack Compose
24:08
Support Multi-Screen Sizes in Jetpack Compose
12:00
Ahmed Guedmioui
Рет қаралды 1,4 М.
Compose: Implementing responsive UI for larger screens
18:28
Android Developers
Рет қаралды 9 М.
Liquid Bottom Navigation UI Design in Jetpack Compose
10:09
Juraj Kusnier
Рет қаралды 14 М.
How to Support ALL Screen Sizes on Android - Full Guide
19:10
Philipp Lackner
Рет қаралды 111 М.
Implementing Android apps for all screen sizes
13:53
Android Developers
Рет қаралды 33 М.
Jetpack Compose Canvas UI Challenge - Draw an animated Water Bottle
23:23
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 27 МЛН