Show TOC

Device AdaptationLocate this document in the navigation structure

The following section outlines the best practices for ensuring your master-detail apps adapt to different kinds of devices in the best way possible.

Content Density

The app templates include a mechanism to adjust the content density of the controls according to the device features. On devices that feature touch support, the controls are automatically displayed larger. For more information, see How to Use the Compact Density for Controls.

Refreshing Data

When opening apps on a touch-enabled device, the master list can be refreshed with a touch gesture using a sap.m.PullToRefresh control. For more information, see the corresponding sample in the Explored app within the Demo Kit.