I'm designing a screen, importing the assets and dimensions from Zeplin. I'm not able to figure out why the UI looks different on 2 different devices with the same screen size and density (xxhdpi). I have included the screenshots of how it looks on the Pixel 2 and how it looks on the Nexus 5 (Both are 5' phone with xxhdpi density)
[1]: Pixel 2 : https://i.stack.imgur.com/vgCTe.png
[2]: Nexus 5 : https://i.stack.imgur.com/NFl0q.png