Abstract:
An electronic device and a method are provided. The electronic device includes a communication module, a touch screen display, a processor electrically connected with the communication module and the touch screen display, and a memory electrically connected with the processor. The memory is configured to stores an application program configured to transmit and receive data to/from an external electronic device using the communication module, and instructions to enable the processor to display a user interface of the application program in the touch screen display when the application program is executed. The user interface includes a first area that displays at least one of an image and text that is associated with a user who is related to the external electronic device, and a second area that displays data that is shared with the external electronic device, and the first area overlaps at least a part of the second area.