How can I determine the dimens of each screen? - Android studio

134 Views Asked by At

I am new to programming and I didn't quite understand the dimens, I know there are small, normal, large and xlarge screen sizes. I also know the densities: ldpi, mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi.

I see that we make dimens.xml for each size but I don't know how that works, should I make dimens.xml folder for all screen sizes then for all densities? and How can I know the correct dimensional values ​​for each size/density?

one last question, I want to work on normal size screen with mdpi, which one of those should I choose? enter image description here

0

There are 0 best solutions below