Using general screen size qualifiers as a metric is a good approach when conceiving flexible layouts, because it allows you to target ranges of similar devices. Here’s the general size qualifiers for Fire Tablets: Since this metric is defined with 4’’/5’’ phones as a base point for normal, tablets usually fall under large or xlarge qualifiers. They are based on the physical screen size (small, normal, large, xlarge).
Alternate launcher kindle fire hdx android#
General Screen Size Qualifiers for Fire TabletsĪnother strategy to define layout or assets is to use the general size qualifiers defined by the Android platform. It’s always good practice to verify the density of the devices you want to specifically target with your layouts in order to understand what qualifier you need to use for your resources. Screen density is fundamental when designing layouts for different screen sizes.
The explanation for this is Fire HD 8 having the same resolution of the HD 10 (1280x800 px) but the display on HD 8 is actually smaller (8’’) and so it has a higher pixel density (189 DPI on Fire HD 8 against 149 DPI on Fire HD 10).Īs a reference, here’s the actual physical DPI metric for the three new tablets: However, tvdpi is to be treated as a secondary density category, so developers addressing Fire HD 8 should create graphical assets for the higher hdpi category, the graphical assets will be automatically scaled accordingly. There are two densities categories you should address when targeting Fire tablets: This qualifiers depend on the density of the screen, and help you create graphical assets which can be re-used across multiple devices. It’s quite simple to calculate the amount of pixels (px), density-independent pixels (dp) or Dots Per Inch (DPI) available on a display, using the formula:Īndroid provides some generalized density qualifiers, which are really helpful to group similar devices together. The baseline density is 160 DPI (defined “medium density”) and the scaling for dp is calculated accordingly. This is because at runtime, the system automatically scales the dp units based on the actual pixel density of the display. If you use density-independent pixels you will secure a layout component that will approximately have the same physical size across different devices, no matter the screen density and the size of the display. When you are defining the size of the elements of your layout, remember to use density-independent pixels (dp) rather than absolute pixels. It’s important to correctly understand and use density-specific metrics, since directly indicating pixels could result in very differently-sized elements on different screens, caused by the different amount of pixels condensed in the same physical area. Density represents how many pixels are condensed in a certain amount of space on a device display. Fire Tablets have different screen densitiesĪn important metric to consider when defining your flexible app layout and graphical assets is screen density.