自訂游標
透過集合功能整理內容
你可以依據偏好儲存及分類內容。

第 1 級 — 大螢幕差異化
自訂游標可指出使用者與 UI 元素和內容互動的方式和時機,讓應用程式與眾不同。系統提供自訂游標,例如:
- 文字欄位專用的 I 字型游標
- 位於可調整大小圖層邊緣的大小調整控點
- 表示處理中的旋轉圖示
不過,您可以建立特殊游標,例如:
- 懸停在遊戲目標上方時的十字型游標
- 懸停在可縮放內容上方時的放大鏡
- 繪圖或插圖應用程式的工具
後續步驟
如要瞭解如何在應用程式中建立自訂游標,請參閱:
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[null,null,["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# Custom cursors\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-P1](/docs/quality-guidelines/large-screen-app-quality#LS-P1) custom cursors requirement of the [Large screen app quality](/docs/quality-guidelines/large-screen-app-quality) guidelines.\n\nCustom cursors differentiate your app by indicating how and when users can\ninteract with UI elements and content. The system provides custom cursors, such\nas:\n\n- I-beam for text fields\n- Resize handles at resizable layer edges\n- Processing spinners\n\nBut you can create specialty cursors, such as:\n\n- Crosshairs when hovering over targets in games\n- A magnifying glass when hovering over zoomable content\n- Tools in drawing or illustration apps\n\nNext steps\n----------\n\nTo learn about creating custom cursors in your app, see:\n\n- [`PointerIcon`](/reference/kotlin/android/view/PointerIcon)\n- [Mouse pointer icons](https://chromeos.dev/en/android/pointer-styling)"]]