可折叠设备状态和折叠状态
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。

第 1 层级 - 针对大屏设备提供差异化体验
桌面折叠状态和HALF_OPENED
等可折叠设备折叠状态和折叠状态有助于应用创新。支持可折叠设备大屏幕和小屏幕的相机预览可提供最佳用户体验。
在高端可折叠设备上让您的应用脱颖而出。Jetpack WindowManager API(例如 FoldingFeature
)会向您展示具体方法。
后续步骤
如需详细了解可折叠设备的折叠状态、状态和相机预览支持,请参阅以下开发者指南:
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Foldable postures and states\n\nTIER 1 --- Large screen differentiated\n| **Objective:** Make your app [large screen differentiated](/docs/quality-guidelines/large-screen-app-quality#large_screen_differentiated) by meeting the [LS-F1](/docs/quality-guidelines/large-screen-app-quality#LS-F1) foldable postures and [LS-F2](/docs/quality-guidelines/large-screen-app-quality#LS-F2) camera preview requirements of the [Large screen app quality](/docs/quality-guidelines/large-screen-app-quality) guidelines.\n\nFoldable postures and states such as tabletop and [`HALF_OPENED`](/reference/kotlin/androidx/window/layout/FoldingFeature.State#HALF_OPENED()) invite app\ninnovation. Camera preview that supports both large and small screens of a\nfoldable device provides an optimal user experience.\n\nDifferentiate your app on premium foldable devices. Jetpack WindowManager APIs\nsuch as [`FoldingFeature`](/reference/kotlin/androidx/window/layout/FoldingFeature) show you how.\n\nNext steps\n----------\n\nLearn more about foldable postures, states, and support for camera preview in\nthe following developer guides:\n\n- [Learn about foldables](/develop/ui/compose/layouts/adaptive/foldables/learn-about-foldables)\n- [Make your app fold aware](/develop/ui/compose/layouts/adaptive/foldables/make-your-app-fold-aware)\n- [Support foldable display modes](/develop/ui/compose/layouts/adaptive/foldables/support-foldable-display-modes)"]]