
For more information, see Use Density-Independent Pixels. Also, use scale-independent pixels (sp) for text. The dp units have a baseline of 1 dp per pixel on a 160PPI (mdpi) device, but are automatically scaled at runtime for devices with higher screen densities.
Create layouts by using density-independent pixels (dp) rather than absolute pixels. You can follow the Android best practices for designing an app for multiple different screen types, including: A flexible layout enables your app's user interface (UI) to dynamically scale to different screen sizes, densities, and aspect ratios at runtime. To address these issues, design your app to use a flexible layout. Text and images designed for a device with a specific screen density may have larger or smaller elements than you expect, which can affect both the appearance and behavior of your app. Text and images designed for a device with a specific aspect ratio may have distorted or overlapping screen elements on screens with different aspect ratios. Text and images designed for a device with a specific screen size may not properly scale to different screen sizes, or may look distorted or pixelated when scaled. If you design your app for a specific device's screen, it may both look and behave differently than you expect when it runs on a device with a different screen size, aspect ratio, or pixel density. Ensure that the icon provides a clear and identifiable image that positively represents your brand. Test your icon across the range of devices where you want your app to run. See Launcher Icon Guidelines for information about required icon resolution and dimensions. This is a change from earlier versions of Fire OS, where the launcher used the app icon that you uploaded to the developer portal when submitting your app. Understand How Fullscreen Modes Affect Layoutįor increased commonality with Android, the launcher on Fire OS 5 and Fire OS 6 displays the app icon that you provide within your APK. Declare Support for Split-Screen (Multi-Window). Declare Support for Screen Sizes in Your Manifest. Provide Multiple Layouts for Different Screens. This document provides an overview of options and techniques for managing different Fire tablet screens in your app. As an app developer, it can be challenging to create an app that runs and looks good on many different form factors, especially if you are porting your app from another tablet or from a phone.
Screen Layout and Resolution (Fire Tablets)įire tablets come in a variety of screen sizes, pixel densities, and aspect ratios.
Install and Use the Amazon Web App Tester. Automatically Scale an Element to Fill the Screen. Detect the Device Display Characteristics. Take Screenshots on Fire Devices and Android Tablets. Fire Tablet Specifications: Fire HDX Models. Fire Tablet Specifications: Fire Models. Fire Tablet Specifications: Fire HD Models.
Set Up Your Development Environment for Fire Tablets.