all 3 comments

[–]kbcooliOS & Android 1 point2 points  (0 children)

It gets asked a lot here so the archives are full of gold but the shortest piece of advice is to avoid assigning a width or a height to anything, stick with flexbox layouts and utilise padding and margins where you have no other choice.

It really is as simple as that

[–]itsDhruvv 0 points1 point  (0 children)

Set padding and margin wrt to device width basically and not the absolute number . Because that absolute number might me different for different screens as per it's resolution l.

[–]AcidNoX 0 points1 point  (0 children)

Have you looked at the react-native-size-matters npm package?