| CPC G06F 3/0487 (2013.01) [G06F 1/1652 (2013.01)] | 15 Claims |

|
1. An electronic device comprising:
a first housing;
a second housing disposed to be movable with respect to the first housing;
at least one grip sensor positioned on at least one edge of both the first housing and the second housing;
a flexible display at least partially mounted on a surface of the second housing and adapted to be inserted into or withdrawn from the first housing through slide-in or slide-out movement of the second housing; and
at least one processor operably connected to the first housing, the second housing, the at least one grip sensor, and the flexible display,
memory storing instructions that, when executed by the at least one processor, cause the electronic device to:
display, on the flexible display, a one-handed mode screen that is reduced in size according to a specified ratio corresponding to the full screen in a slide-in state,
detect that the second housing is moved while the one-handed mode screen is displayed,
detect a grip state of a user holding the electronic device, and
move a display position of the one-handed mode screen based on the detected grip state of the user.
|