An electronic device comprising: a first layer disposed on a surface of the electronic device and configured to be touched or gripped by a user and to generate a signal corresponding to a location of a touch or grip of the user; a second layer disposed on the first layer and configured to have a surface shape of the second layer changed; and a processor configured to: identify the location of the touch or grip based on the generated signal, and control the second layer to change the surface shape of the second layer at the location of the touch or grip to have a protrusion pattern based on the generated signal, the electronic device being characterized in that the protrusion pattern comprises: a first protrusion pattern on the location of the touch or grip the first protrusion pattern comprising at least one of a bump, a dot, and a line for increasing a handling friction coefficient of the touch or grip of the user at the location of the touch or grip of the second layer; and a second protrusion pattern on the location surrounding and in proximity to the location of the touch or grip area, the second protrusion pattern comprising at least one of a bump, a dot, and a line for enhancing stability of the touch or grip of the user; wherein the second protrusion pattern has a greater height than the first protrusion pattern. a first layer disposed on a surface of the electronic device and configured to be touched or gripped by a user and to generate a signal corresponding to a location of a touch or grip of the user; a second layer disposed on the first layer and configured to have a surface shape of the second layer changed; and a processor configured to: identify the location of the touch or grip based on the generated signal, and control the second layer to change the surface shape of the second layer at the location of the touch or grip to have a protrusion pattern based on the generated signal, the electronic device being characterized in that the protrusion pattern comprises: a first protrusion pattern on the location of the touch or grip the first protrusion pattern comprising at least one of a bump, a dot, and a line for increasing a handling friction coefficient of the touch or grip of the user at the location of the touch or grip of the second layer; and a second protrusion pattern on the location surrounding and in proximity to the location of the touch or grip area, the second protrusion pattern comprising at least one of a bump, a dot, and a line for enhancing stability of the touch or grip of the user; identify the location of the touch or grip based on the generated signal, and control the second layer to change the surface shape of the second layer at the location of the touch or grip to have a protrusion pattern based on the generated signal, a first protrusion pattern on the location of the touch or grip the first protrusion pattern comprising at least one of a bump, a dot, and a line for increasing a handling friction coefficient of the touch or grip of the user at the location of the touch or grip of the second layer; and a second protrusion pattern on the location surrounding and in proximity to the location of the touch or grip area, the second protrusion pattern comprising at least one of a bump, a dot, and a line for enhancing stability of the touch or grip of the user; wherein the second protrusion pattern has a greater height than the first protrusion pattern.