Sony Xperia XZ Dimensions
5.2 INCH 5.75 x 2.83 x 0.32 INCHSony Xperia XZ Resolution
1080 x 1920 PX ~ 424 Pixels Per InchSony Xperia XZ Viewport
360 x 640 PX ~ 141 Pixels Per InchSony Xperia XZ Density
3 xxhdpi 3x Retina DisplayOS Details
Sony Xperia XZ has been launched in
October 2016.
Sony Xperia XZ have
Android 6.0.1 (Marshmallow) and planned upgrade to Android 8.0 (Oreo)
Screen Dimensions
Sony Xperia XZ screen size is 5.2 inch with ~ 70.9% body ratio of actual device size. Physical dimensions for Sony Xperia XZ device is 5.75 x 2.83 x 0.32 INCH or ( 146 x 72 x 8.1 MM).
Displaying of Units are in this order "Height x Width x Thickness"Screen Pixel Density and CSS Pixel Ratio
"Pixel" is smallest unit/element of any display.
The total number of pixels that fit into an inch is referred to as "Screen Density" or "Pixel Density" and it measured as "Pixels Per Inch".
Pixel Desnsity have limits to display Pixels Per Inch depends on different screen sizes. When number of pixels per inch increases than it's screen-size limit, the Display resolution will increase but actual device width/height in pixels remain same. Actual device pixels are known as Device Independent Pixels or CSS Pixel Ratio.
Sony Xperia XZ resolution is 1080 x 1920 PX with ~ 424 pixel desnsity.
Sony Xperia XZ viewport size is 360 x 640 PX with ~ 141 actual pixel density, which means it have 3 xxhdpi display pixel density.
Screen Resolution and Viewport
The sum of pixels which are displaying on a device is called as "Screen Resolution". and sum of actual pixels of any device is reffered to as "Viewport".
Sony Xperia XZ have 5.2" physical screen size and its resolution is about 1080 x 1920 Pixels with approximately 424 PPI pixel density. Sony Xperia XZ has viewport size 360 x 640 Pixels and its pixel ratio is about 3.
For better understanding screen actual sizes, viewport sizes, display resolution and about their density click here.
CSS Media Queries
Sony Xperia XZ Media Queries (In terms of Mobile only)
@media only screen and (min-width: 360px) and (max-width: 767px) { /* Your Styles... */ }
Sony Xperia XZ Min-Width Media Queries
@media only screen and (min-width: 360px) { /* Your Styles... */ }
Sony Xperia XZ Min-Height Media Queries
@media only screen and (min-height: 640px) { /* Your Styles... */ }
Sony Xperia XZ Landscape Media Queries
@media only screen and (min-width: 640px) and (orientation: landscape) { /* Your Styles... */ }
Sony Xperia XZ Portrait Media Queries
@media only screen and (min-width: 360px) and (orientation: portrait) { /* Your Styles... */ }
Sony Xperia XZ Retina Media Queries
@media
only screen and (-webkit-min-device-pixel-ratio: 3),
only screen and ( min--moz-device-pixel-ratio: 3),
only screen and ( -o-min-device-pixel-ratio: 3/1),
only screen and ( min-device-pixel-ratio: 3),
only screen and ( min-resolution: 424dpi),
only screen and ( min-resolution: 3dppx) {
/* Retina styles here */
}
Retina is actually based upon device pixel ratio. Devices mostly have 2x or 3x display so you can use general retina media queries to display high resolution content on all kind of devices. Retina 2x and Retina 3x media queries given below:
Retina 2x Media Query
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and ( min--moz-device-pixel-ratio: 2),
only screen and ( -o-min-device-pixel-ratio: 2/1),
only screen and ( min-device-pixel-ratio: 2),
only screen and ( min-resolution: 192dpi),
only screen and ( min-resolution: 2dppx) {
/* Retina styles here */
}
Retina 3x Media Query
@media
only screen and (-webkit-min-device-pixel-ratio: 3),
only screen and ( min--moz-device-pixel-ratio: 3),
only screen and ( -o-min-device-pixel-ratio: 3/1),
only screen and ( min-device-pixel-ratio: 3),
only screen and ( min-resolution: 384dpi),
only screen and ( min-resolution: 3dppx) {
/* Retina styles here */
}
Sony Xperia XZ Specifications
Disclaimer: Information collected from different top relevent websites. It is tried to keep the information correct.
If you find anything wrong email us [email protected]