You can personalize the camera button to quickly capture photos or record videos.
Customize Quick Camera Activation on Sony Xperia XA1 Plus as follows:
Step 1: Go to camera settings.

Step 2: Select the Quick Launch option.
.jpg)
Step 3: Choose the quick action you want to enable.
.jpg)
Now, you have completed the setup. Best of luck!