An electronic device, comprising: a camera module that is configured to capture an image; a touch screen; and a processor configured to: display a preview image on the touch screen based on image data received by the camera module, display a first area related to a first function of the camera module on the preview image and a second area related to a second function of the camera module on the preview image, wherein the first area and the second area are displayed on the preview image in response to a first touch input on the touch screen held for at least a first period of time, in order to set image capture conditions for the image, wherein the first area and the second area overlap on a position of the first touch input on the preview image on the touch screen, after the first area related to the first function and the second area related to the second function are displayed, move the position of the first area related to the first function independently of the second area based on a second touch input on the preview image on the touch screen, and after the first area related to the first function and the second area related to the second function are displayed, move the position of the second area related to the second function independently of the first area based on a third touch input on the preview image on the touch screen, wherein the first function is set to be applied based on a position of the first area and the second function of the camera module is set to be applied based on a position of the second area, and wherein the first function is an auto exposure function and the second function is an auto focus function. a camera module that is configured to capture an image; a touch screen; and a processor configured to: display a preview image on the touch screen based on image data received by the camera module, display a first area related to a first function of the camera module on the preview image and a second area related to a second function of the camera module on the preview image, wherein the first area and the second area are displayed on the preview image in response to a first touch input on the touch screen held for at least a first period of time, in order to set image capture conditions for the image, wherein the first area and the second area overlap on a position of the first touch input on the preview image on the touch screen, after the first area related to the first function and the second area related to the second function are displayed, move the position of the first area related to the first function independently of the second area based on a second touch input on the preview image on the touch screen, and after the first area related to the first function and the second area related to the second function are displayed, move the position of the second area related to the second function independently of the first area based on a third touch input on the preview image on the touch screen, wherein the first function is set to be applied based on a position of the first area and the second function of the camera module is set to be applied based on a position of the second area, and wherein the first function is an auto exposure function and the second function is an auto focus function. display a preview image on the touch screen based on image data received by the camera module, display a first area related to a first function of the camera module on the preview image and a second area related to a second function of the camera module on the preview image, wherein the first area and the second area are displayed on the preview image in response to a first touch input on the touch screen held for at least a first period of time, in order to set image capture conditions for the image, wherein the first area and the second area overlap on a position of the first touch input on the preview image on the touch screen, after the first area related to the first function and the second area related to the second function are displayed, move the position of the first area related to the first function independently of the second area based on a second touch input on the preview image on the touch screen, and after the first area related to the first function and the second area related to the second function are displayed, move the position of the second area related to the second function independently of the first area based on a third touch input on the preview image on the touch screen, wherein the first function is set to be applied based on a position of the first area and the second function of the camera module is set to be applied based on a position of the second area, and wherein the first function is an auto exposure function and the second function is an auto focus function.