An example device includes a housing including a first surface facing a first direction and a second surface facing a second direction; a transparent cover formed on at least a portion of the first surface of the housing; a display disposed between the transparent cover and the second surface; a sensor disposed between the display and the second surface; and a control circuit, electrically connected to the sensor, for controlling the sensor, wherein the display can include: a first region including a plurality of pixels capable of displaying color; and a second region aligned on at least a portion of the sensor such that light acquired from the outside of the electronic device passes through the sensor.