觸控與輸入總覽
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
試試 Compose 的方式
Jetpack Compose 是 Android 推薦的 UI 工具包。瞭解如何在 Compose 中使用觸控和輸入功能。
以下幾頁將介紹使用者輸入的所有內容,從基本觸控輸入和手勢到鍵盤和遊戲控制器。您可以為應用程式新增便利的功能,例如複製及貼上及拼字檢查。您也可以自行開發文字服務,提供自訂鍵盤 (輸入法編輯器)、字典和拼字檢查工具,以應用程式的形式發布給使用者。
詳情請參閱「無障礙功能的最佳做法」。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[],[],null,["# Touch and input overview\n\nTry the Compose way \nJetpack Compose is the recommended UI toolkit for Android. Learn how to use touch and input in Compose. \n[Handling user interactions →](/develop/ui/compose/touch-input/user-interactions/handling-interactions) \n\nThe following pages cover everything about user input, from basic touch input and gestures to\nkeyboards and game controllers. You can add convenient features such as copy and paste and spell\nchecking to your app. You can also develop your own text services to offer custom keyboards (Input\nMethod Editors), dictionaries, and spell checkers that you can distribute to users as\napplications.\n\nFor more information, see\n[Best practices for accessibility](/guide/topics/ui/accessibility). \n\nDocumentation\n-------------\n\n- [Input events overview](/guide/topics/ui/ui-events)\n- [Use touch gestures](/training/gestures)\n- [Handle keyboard input](/training/keyboard-input)\n- [Support game controllers](/training/game-controllers)\n- [Create an input method](/guide/topics/text/creating-input-method)\n- [Spell checker framework](/guide/topics/text/spell-checker-framework)"]]