Loading packages/SystemUI/res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -376,6 +376,8 @@ <!-- Button text for taking a fullscreen screenshot [CHAR LIMIT=50] --> <string name="screen_capture_fullscreen_screenshot_button">Take screenshot of entire screen</string> <!-- Button text for taking a fullscreen screenshot [CHAR LIMIT=50] --> <string name="screen_capture_fullscreen_record_button">Record entire screen</string> <!-- Button text for taking a screenshot of the selected area using the region box. [CHAR LIMIT=50] --> <string name="screen_capture_region_selection_button">Take screenshot of selected area</string> <!-- Button text in the region select box for triggering a recording of the selected area. [CHAR LIMIT=35] --> Loading packages/SystemUI/src/com/android/systemui/screencapture/record/largescreen/ui/compose/PreCaptureUI.kt +9 −1 Original line number Diff line number Diff line Loading @@ -74,7 +74,15 @@ fun PreCaptureUI(viewModel: PreCaptureViewModel) { contentDescription = null, ) .value, text = stringResource(R.string.screen_capture_fullscreen_screenshot_button), text = stringResource( when (viewModel.captureType) { ScreenCaptureType.SCREENSHOT -> R.string.screen_capture_fullscreen_screenshot_button ScreenCaptureType.SCREEN_RECORD -> R.string.screen_capture_fullscreen_record_button } ), onClick = { viewModel.takeFullscreenScreenshot() }, ) } Loading Loading
packages/SystemUI/res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -376,6 +376,8 @@ <!-- Button text for taking a fullscreen screenshot [CHAR LIMIT=50] --> <string name="screen_capture_fullscreen_screenshot_button">Take screenshot of entire screen</string> <!-- Button text for taking a fullscreen screenshot [CHAR LIMIT=50] --> <string name="screen_capture_fullscreen_record_button">Record entire screen</string> <!-- Button text for taking a screenshot of the selected area using the region box. [CHAR LIMIT=50] --> <string name="screen_capture_region_selection_button">Take screenshot of selected area</string> <!-- Button text in the region select box for triggering a recording of the selected area. [CHAR LIMIT=35] --> Loading
packages/SystemUI/src/com/android/systemui/screencapture/record/largescreen/ui/compose/PreCaptureUI.kt +9 −1 Original line number Diff line number Diff line Loading @@ -74,7 +74,15 @@ fun PreCaptureUI(viewModel: PreCaptureViewModel) { contentDescription = null, ) .value, text = stringResource(R.string.screen_capture_fullscreen_screenshot_button), text = stringResource( when (viewModel.captureType) { ScreenCaptureType.SCREENSHOT -> R.string.screen_capture_fullscreen_screenshot_button ScreenCaptureType.SCREEN_RECORD -> R.string.screen_capture_fullscreen_record_button } ), onClick = { viewModel.takeFullscreenScreenshot() }, ) } Loading