Brifing

API 37 Removes Portrait-Only Lock for Tablet Apps

How developers are adapting to the new screen orientation policy

Developing Android Apps1 min

1Changing Developer Guidelines

With Android API 37, the ability to lock apps to portrait-only mode on tablets is being removed. This change will particularly affect apps designed exclusively for vertical orientation. Developers are now seeking solutions to comply with the new regulation while maintaining functionality.

2User-Centric Approach

Experts suggest that displaying a 'rotate device' message in an empty layout might work as a temporary fix. However, the ideal solution involves redesigning apps to function seamlessly in both portrait and landscape modes. This approach respects user preferences and enhances accessibility.

3Technical Adaptation Process

The most critical step for developers is making existing layouts compatible with multi-orientation use. Ensuring stable transitions between fragments and activities in both directions is essential. Responsive design principles become particularly important in this context.

4Importance of Testing Scenarios

Comprehensive testing post-update is crucial. Developers need to verify app behavior across different screen sizes and rotation scenarios. Special attention should be paid to the positioning of input fields and navigation elements during orientation changes.

5Community Reactions and Solutions

Developer discussions on Reddit reveal mixed reactions - some welcome this change for improved UX, while others foresee challenges for niche applications. Popular solutions include implementing adaptive layouts and dynamic UI elements that respond to orientation changes.

6Future-Proofing Applications

This change underscores the growing importance of flexibility in mobile app development. Developers must move away from single-orientation designs and create solutions that accommodate device diversity. In the long run, this will lead to more inclusive and adaptable digital products.

Original article: Developing Android Apps — API 37 ile Tablet Uygulamalarında Portre Modu Kısıtlaması Kalkıyor