擷取螢幕截圖
您可以在多數 Android 裝置上使用組合鍵擷取螢幕截圖:
同時按住電源鍵和調降音量鍵。您也可以使用 Android Studio 擷取螢幕截圖,方法如下:
- 在已連結的裝置或模擬器上執行應用程式。如果使用已連結的裝置,請確定您已啟用 USB 偵錯。
- 在 Android Studio 中,選取檢視 > 工具視窗 > Logcat,開啟 Logcat。
- 在視窗頂端的下拉式選單中選取裝置和程序。
- 按一下視窗左側的螢幕畫面擷取
。
螢幕截圖會顯示在螢幕截圖編輯器視窗中。
提示:在 Android 7.0 以上版本中,開啟「設定」,然後選取開發人員選項 > 展示模式,並啟用顯示展示模式。
這項操作會重設狀態列,暫時移除通知,並將訊號和電池電量設為滿格。詳情請參閱設定裝置端的開發人員選項。
圖 1. 螢幕截圖編輯器
- 視需要變更圖片:
- 按一下儲存、指定位置和檔案名稱,然後按一下確定。
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-05-06 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Translation issue"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]