The camera devices 225 and 228 may be arranged such that two or more lenses (a wide-angle lens, an ultra-wide-angle lens, or a telephoto lens) and image sensors are located on one surface (e.g., the first surface 231, the second surface 232, the third surface 241, or the fourth surface 242) of the electronic device 220. The camera devices 225 and 228 may include lenses for time-of-flight (TOF) lenses and image sensors.
The key input device 226 (e.g., a key button) may be disposed on the third side surface 233c of the first side frame 233 of the first housing 230. The key input device 226 includes at least one of the other side surfaces 233a and 233b of the first housing 230 and/or the side surfaces 243a, 243b, and 243c of the second housing 240. Alternatively, the electronic device 220 may not include some or all of the key input devices 226, and a key input device 226 not included in the electronic device 220 may be implemented in another form such as a soft key on the flexible display 260. The key input device 226 may be implemented using a pressure sensor included in the flexible display 260.