| CPC G06F 1/1652 (2013.01) [G06F 1/1624 (2013.01); G06F 3/14 (2013.01); G06T 1/20 (2013.01)] | 15 Claims |

|
1. An electronic device comprising:
a display comprising a main display area and at least one expandable display area expandable from the main display area: and
a processor operatively connected to the display,
wherein the processor is configured to:
display, while the electronic device is in a slide-in state, a first screen corresponding to an application executed in the slide-in state through the main display area;
based on at least a portion of the expandable display area being slid out, generate a second screen to be displayed through the main display area and the at least portion of the expandable display area that has been slid out;
generate a slide effect screen at least partially simultaneously with the generation of the second screen and display the slide effect screen on the at least portion of the expandable display area that has been slid out; and
based on the generation of the second screen being completed, remove the display of the slide effect screen and display the second screen on the main display area and the expandable display area that has been slid out.
|