CPC G09G 3/035 (2020.08) [G06T 13/00 (2013.01); G09G 2340/0442 (2013.01); G09G 2340/0464 (2013.01)] | 18 Claims |
1. An electronic device comprising:
a housing comprising a first housing structure and a second housing structure;
a display configured as a flexible display;
at least one processor; and
memory storing instructions that, when executed by the at least one processor, cause the electronic device to:
control the display to display, on a first area of the display, a first execution screen of a first application at a first screen ratio corresponding to a size of the first area in an unfolded state of the electronic device;
based on switching to a folded state of the electronic device, change the first screen ratio of the first execution screen into a second screen ratio corresponding to a size of a third area of the display;
obtain a first image corresponding to the first execution screen changed to have the second screen ratio;
control the display to display the first image on the third area by applying a visual effect of moving the first image from the first area to the third area via a second area of the display, and display the first execution screen changed to have the second screen ratio on the third area by replacing the first image; and
based on switching from the folded state to the unfolded state, control the display to display, on the first area, the first image corresponding to the first execution screen displayed on the third area by applying a visual effect of moving the first image from the third area to the first area via the second area, and display the first execution screen changed to have the first screen ratio on the first area by replacing the first image.
|