拖放
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。

第 1 层级 - 针对大屏设备提供差异化体验
应用可以通过支持在应用内执行拖放操作,并且支持使用触控输入、鼠标、触控板和触控笔在多窗口模式下在各应用间拖放内容,从而脱颖而出。
后续步骤
如需在应用中启用拖放功能,请参阅:
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Drag and drop\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-D1](/docs/quality-guidelines/large-screen-app-quality#LS-D1) drag and drop requirement of the [Large screen app quality](/docs/quality-guidelines/large-screen-app-quality) guidelines.\n\nApps differentiate themselves for large screens by supporting drag and drop\nwithin the app and, in multi‑window mode, between apps using touch input,\nmouse, trackpad, and stylus.\n\nNext steps\n----------\n\nTo enable drag and drop in your app, see:\n\n- Compose\n\n - [Drag and drop](/develop/ui/compose/touch-input/user-interactions/drag-and-drop)\n - [Input compatibility on large screens](/develop/ui/compose/touch-input/input-compatibility-on-large-screens)\n- Views\n\n - [Enable drag and drop](/develop/ui/views/touch-and-input/drag-drop)\n - [Input compatibility on large screens](/develop/ui/views/touch-and-input/input-compatibility-on-large-screens)"]]