A method of providing selectable keys of a keyboard for input on a touch-sensitive display of an electronic device , the method comprising: displaying the keyboard including the selectable keys in respective first locations on the touch-sensitive display of the electronic device , wherein all of the keys of the keyboard are displayed between a left edge of the keyboard and a right edge of the keyboard, the selectable keys arranged in a plurality of rows such that each one of the plurality of rows comprises all of the selectable keys of the keyboard that are arranged in a respective straight line from the left edge of the keyboard to the right edge of the keyboard ; receiving, via the touch-sensitive display , an input associated with the keyboard ; the method being characterized by in response to identifying the input as a gesture toward a first side of the keyboard to move the selectable keys , moving all of the selectable keys of at least one of the plurality of rows of the keyboard, including all of the keys arranged in the respective straight line from the left edge of the keyboard to the right edge of the keyboard, toward the first side of the keyboard such that each of the selectable keys of the at least one of the plurality of rows including all of the keys arranged in the respective straight line from the left edge of the keyboard to the right edge of the keyboard are moved away from their respective first locations; receiving a selection of one of the selectable keys of the at least one of the plurality of rows of the keyboard that are moved away from their respective first locations; in response to the selection of the at least one of the selectable keys, returning the selectable keys of the at least one of the plurality of rows of the keyboard to the respective first locations on the touch-sensitive display . displaying the keyboard including the selectable keys in respective first locations on the touch-sensitive display of the electronic device , wherein all of the keys of the keyboard are displayed between a left edge of the keyboard and a right edge of the keyboard, the selectable keys arranged in a plurality of rows such that each one of the plurality of rows comprises all of the selectable keys of the keyboard that are arranged in a respective straight line from the left edge of the keyboard to the right edge of the keyboard ; receiving, via the touch-sensitive display , an input associated with the keyboard ; the method being characterized by in response to identifying the input as a gesture toward a first side of the keyboard to move the selectable keys , moving all of the selectable keys of at least one of the plurality of rows of the keyboard, including all of the keys arranged in the respective straight line from the left edge of the keyboard to the right edge of the keyboard, toward the first side of the keyboard such that each of the selectable keys of the at least one of the plurality of rows including all of the keys arranged in the respective straight line from the left edge of the keyboard to the right edge of the keyboard are moved away from their respective first locations; receiving a selection of one of the selectable keys of the at least one of the plurality of rows of the keyboard that are moved away from their respective first locations; in response to the selection of the at least one of the selectable keys, returning the selectable keys of the at least one of the plurality of rows of the keyboard to the respective first locations on the touch-sensitive display . <EOS>