拖曳
透過集合功能整理內容
你可以依據偏好儲存及分類內容。

第 1 級 — 大螢幕差異化
應用程式可透過支援在應用程式內拖曳,以及在多視窗模式下,使用觸控輸入、滑鼠、觸控板和觸控筆,在應用程式之間拖曳,為大螢幕提供獨特的使用體驗。
後續步驟
如要在應用程式中啟用拖曳功能,請參閱:
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[null,null,["上次更新時間: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)"]]