| CPC G09G 3/035 (2020.08) [G06F 3/02 (2013.01); G09G 2354/00 (2013.01); H04M 1/0237 (2013.01); H04M 1/0268 (2013.01)] | 20 Claims |

|
1. An electronic device comprising:
a first housing;
a second housing coupled to slide relative to the first housing;
a display in which a display area exposed outside is reduced or extended based on sliding-in or sliding-out of the second housing;
memory, including one or more storage media, storing instructions; and
at least one processor including processing circuitry,
wherein the instructions, when executed by at least one processor individually or collectively, cause the electronic device to:
display an executed screen of an application on the display when the display is in a first state;
detect an input for changing the display from the first state to a second state in which a size of the display area exposed outside is different from the first state;
determine whether or not the application is re-executed based on the change in the size of the display area exposed outside; and
in case it is determined that the application is re-executed based on the change in the size of the display area, display a graphic element on the display that indicates a change in the executed screen.
|