| CPC G06F 3/0484 (2013.01) [G06F 3/0481 (2013.01); G06F 3/0488 (2013.01); G06F 2203/04803 (2013.01)] | 18 Claims |

|
1. An electronic device comprising:
a housing including a first housing part and a second housing part configured to movably engage with the first housing part between a retracted position and an extended position;
a flexible display coupled to the first housing part and the second housing part such that a size of an area of the flexible display that is visible from a front side of the housing changes as the housing is moved between the retracted position and the extended position;
a mechanical structure in which a mechanical operation occurs to move the second housing part with respect to the first housing part;
at least one processor; and
memory storing instructions which, when executed by the at least one processor, cause the electronic device to:
display a screen comprising a first input user interface (UI) including a UI object displayed on at least a portion of the area of the flexible display that is visible from the front side based on a first layout, the UI object being associated with an input function of the electronic device,
receive a first user input selecting the UI object displayed on the at least the portion of the area of the flexible display,
change the area of the flexible display that is visible from the front side by the mechanical structure, and
display a second input UI comprising a UI component for receiving a second user input through an input method corresponding to the input function associated with the selected UI object, on at least a portion of the changed area, in response to the receiving of the first user input and the changed area.
|