No video

Grid Layout Android Studio | How to create and edit | Android Studio 4.0

  Рет қаралды 61,457

With Sam

With Sam

Күн бұрын

Пікірлер: 74
@WithSam
@WithSam 3 жыл бұрын
Code : github.com/WithSam/Grid-Layout
@cavi8779
@cavi8779 2 жыл бұрын
so soothing music behind the lecture ..loved it a lot
@muhammadsaadmansoor7777
@muhammadsaadmansoor7777 3 жыл бұрын
3:18 to fill the empty space. thats Exactly what i was looking for. thnks
@WithSam
@WithSam 3 жыл бұрын
Glad to know it helped 😁✌🏻❤️
@kwokashley2000
@kwokashley2000 2 жыл бұрын
Thank you so much! Clear explanation with simple steps!
@poojaborad9144
@poojaborad9144 3 жыл бұрын
Usefull this video for me..tx sir
@ImMaxPower
@ImMaxPower Ай бұрын
Good but when it running on a physical device, the view overflows the screen. What can i do?
@biswamohandwari6460
@biswamohandwari6460 3 жыл бұрын
How to make variable row size and coloumn size like we used to do in css like row-span:2
@exismys
@exismys 3 жыл бұрын
maybe use table layout?
@darmawanjr2528
@darmawanjr2528 2 жыл бұрын
Love your lecturing thanks a lot!
@WithSam
@WithSam 2 жыл бұрын
Your Welcome 😄✌🏻❤️
@pratikthorat3480
@pratikthorat3480 3 жыл бұрын
This was quite helpful but why not use the android:useDefaultMargin="true" property ? It will also avoid duplications of margins right ?
@grayos14
@grayos14 3 жыл бұрын
Amazing tip and tutorial.. thank you sir
@WithSam
@WithSam 3 жыл бұрын
Your Welcome! 😁❤✌🏻
@yotsusan_machi
@yotsusan_machi 3 жыл бұрын
wow dude thanks for the iformation i will support you just keep spirit okay!!!
@WithSam
@WithSam 3 жыл бұрын
Thank you, I will ❤
@anujmehta8089
@anujmehta8089 3 жыл бұрын
bro android:layout_coloumWeight is not working in api greater than 21
@infinitycoder6813
@infinitycoder6813 Жыл бұрын
That was great! Thanks for explaining
@ifanzocoder39
@ifanzocoder39 Жыл бұрын
Dil jit liya bro 🔥🔥🔥
@WithSam
@WithSam Жыл бұрын
🫂❤️
@merajzafir3246
@merajzafir3246 3 жыл бұрын
Explanation is really great 🙏🙏 👍👍
@WithSam
@WithSam 3 жыл бұрын
Glad you think so! ❤️
@zachys91
@zachys91 3 жыл бұрын
how do i do a 5x5 grid? anything over 4 columns just fills the whole screen.
@happycommunity4462
@happycommunity4462 3 жыл бұрын
thanks for the tutorial.please give me the music in the video, the one you put is the wrong one.:)
@zim_
@zim_ 3 жыл бұрын
Very helpful :) Thank you so much
@mahendragajbhiye8838
@mahendragajbhiye8838 3 жыл бұрын
Sir it very useful tutorial..I success full run my grid layout..but sir I want to add above the grid layout text view and image view it's not doing ..how sir..for ex..1 is text 2. Is image..3...grid layout..how to do sir
@TheMemoryMaster
@TheMemoryMaster 3 жыл бұрын
How to lock and unlock girdview button to next activity plz help bro
@harneeshyadav1577
@harneeshyadav1577 Жыл бұрын
THANK YOU SO MUCH BRO
@richardslarry9748
@richardslarry9748 Жыл бұрын
how do you edit the width of the buttons so that the grid fits on smaller screens
@goku2685
@goku2685 Жыл бұрын
very detailed explanation
@TheQuickMath
@TheQuickMath 3 жыл бұрын
just name the buttons as 1 , 2 , 3... rotate the screen, code will fail, it will show more than 2 buttns in one row, if we want to see only 2 btns in 1 row, how to do that?
@WithSam
@WithSam 3 жыл бұрын
The code fails because it is inside the Constraint Layout. When you add components inside the Constraint Layout, you have to center them vertically and horizontally so that whenever you rotate the screen, the code doesn't fail. I have shown this concept in my Constraint layout tutorial video, you can check it out here : kzbin.info/www/bejne/bHrbqGuor7mbnNk Now, to fix this code you will have to do the same for the GRID LAYOUT as it is inside the Constraint layout and then the buttons are inside the Grid layout. So the Constraint Layout becomes the parent of Grid Layout, and Grid Layout becomes the parent of all the buttons. So just center the Grid Layout Vertically and Horizontally in Parent and the code will get fixed 👍 Or else, just copy this in side the Grid Layout section : Before : After : Copy the AFTER part.
@abdenourbacha4782
@abdenourbacha4782 3 жыл бұрын
thanks man this was realy helpful
@WithSam
@WithSam 3 жыл бұрын
Your Welcome my friend 😁❤✌🏻
@karruramesh9798
@karruramesh9798 3 жыл бұрын
Bro please continue this series
@WithSam
@WithSam 3 жыл бұрын
Indeed, I will ❤✌🏻
@debartoloa
@debartoloa 2 жыл бұрын
Great Job Sam 👍👍
@MrIMacro
@MrIMacro 3 жыл бұрын
Thanks I have a little problem: the horizontal space between the buttons is good, but the vertical space is bigger !!! Could you help with that please?
@WithSam
@WithSam 3 жыл бұрын
What exactly do you want to do? Increase the vertical gap between the buttons?
@MrIMacro
@MrIMacro 3 жыл бұрын
@@WithSam yes
@WithSam
@WithSam 3 жыл бұрын
@@MrIMacro Just add a desired Margin at the bottom, for all the card views Copy this : android: layout_marginBottom = "(enter your desired number)dp"
@sjjayaswal7621
@sjjayaswal7621 2 жыл бұрын
Good information 👍
@najmasiddique143
@najmasiddique143 2 жыл бұрын
Mery Pas gravity fill saii ni a rha fill ni ho rha pory page py kindly tell me plzz for erro
@Mikzur
@Mikzur 2 жыл бұрын
Thanks great tutorial
@leonidas_30052
@leonidas_30052 2 жыл бұрын
very nice! thank you
@sumonkobirbd
@sumonkobirbd 2 жыл бұрын
Wow, very nice
@saleemhafiz19
@saleemhafiz19 7 ай бұрын
Amazing
@adnanhabib3059
@adnanhabib3059 Жыл бұрын
Greate expalination...
@rafhaellowixhomwad
@rafhaellowixhomwad 3 жыл бұрын
Thank you so much😍😍😍
@digidianne3302
@digidianne3302 3 жыл бұрын
thanks for this!
@WithSam
@WithSam 3 жыл бұрын
My pleasure!
@pulasthinarada6381
@pulasthinarada6381 3 жыл бұрын
Thank You Sir.
@WithSam
@WithSam 3 жыл бұрын
Your Welcome! 😄✌🏻❤
@debalghosh5412
@debalghosh5412 3 жыл бұрын
Omg thank you so much
@WithSam
@WithSam 3 жыл бұрын
Your Welcome Mate 😄❤️✌🏻
@najmasiddique143
@najmasiddique143 2 жыл бұрын
So nice
@ryanchris7262
@ryanchris7262 3 жыл бұрын
Thanks dude...
@WithSam
@WithSam 3 жыл бұрын
Your Welcome ❤✌🏻
@najmasiddique143
@najmasiddique143 2 жыл бұрын
It's working 👍👍👍
@LocoErick99
@LocoErick99 3 жыл бұрын
thank you!!
@alexxl9
@alexxl9 Жыл бұрын
how can i add the buttons with out xml?
@woo8006
@woo8006 3 жыл бұрын
thank you so much
@sjjayaswal7621
@sjjayaswal7621 2 жыл бұрын
Good video
@shirishkikani8769
@shirishkikani8769 3 жыл бұрын
Make video data store in next activity
@shahidkhanofficial9421
@shahidkhanofficial9421 3 жыл бұрын
Good.....
@neonff9238
@neonff9238 3 жыл бұрын
Sir This Is Responsive for all screen
@WithSam
@WithSam 3 жыл бұрын
Yup
@meherunnesahossainibnath5958
@meherunnesahossainibnath5958 Жыл бұрын
Can I add an image here ?
@sherlinsowmiya3842
@sherlinsowmiya3842 3 жыл бұрын
Is it possible to fix any image above this button bro
@WithSam
@WithSam 3 жыл бұрын
Yeah why not Place it above the code of the Grid Layout
@francescolanni9733
@francescolanni9733 3 жыл бұрын
indiano supremo
@WithSam
@WithSam 3 жыл бұрын
Grazie Signore 😁❤️✌🏻
@asalqadry8252
@asalqadry8252 3 жыл бұрын
are you serious I want how to do like this on coding
@tiennguyenminh6454
@tiennguyenminh6454 Жыл бұрын
thank you so much
Coding Was HARD Until I Learned These 5 Things...
8:34
Elsa Scola
Рет қаралды 341 М.
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 24 МЛН
Blue Food VS Red Food Emoji Mukbang
00:33
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 32 МЛН
CardView UI Design Android Studio | Using Grid Layout
6:51
Coding Adventure
Рет қаралды 247 М.
We Built an App in 24 Hours [No Code]
11:56
Raw Startup
Рет қаралды 426 М.
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Рет қаралды 784 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 356 М.
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 24 МЛН