Giới thiệu về bố cục thích ứng
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Android apps run on a wide variety of devices—from foldable flip phones to
wall‑mounted TVs. To provide a great user experience on all types of
devices, adapt your app's UI to different display sizes and configurations. The
best Android apps make the most of the screen space they occupy and handle
changes to that space at runtime, including orientation changes and window
resizing in split‑screen and desktop windowing modes.
Topics
The adaptive layouts documentation provides guidance on how to:
Design and implement adaptive layouts
Adjust your app's primary navigation based on window size
Use window size classes to adapt your app's UI
Simplify implementation of canonical layouts, such as list‑detail,
using the Jetpack APIs
Prerequisites
The adaptive layouts guidance assumes you understand the following concepts:
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2026-04-08 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2026-04-08 UTC."],[],[]]