Patent ID: 8598479

Claim:
An electronic device comprising: a switch; a housing comprising a cover and a sidewall enclosing the cover, the sidewall defining a receiving hole; a button received in the receiving hole; and an elastic element; wherein the elastic element comprises a base, a resisting portion substantially perpendicular to the base and an elastic arm aslant connecting the resisting portion and the base, the resisting portion abuts against the button, the base is fixed to the cover, the elastic arm deflects when the button is pushed by an external force to actuate the switch, and rebounds to cause the button to move back when the external force has ceased; wherein the button comprises a button body comprising a flange arranged around its edge, the flange is located within the housing and abuts against the sidewall; wherein the button further comprises an actuating element, the button body defines a receiving cavity for accommodating the actuating element, the resisting portion defines a notch, a protrusion protrudes from a side of the actuating element, the protrusion passes through the notch and faces the switch; and wherein the actuating element defines a plurality of slots paralleled to each other in a side opposite to the protrusion, ribs are formed in the receiving cavity, the ribs are respectively received in the slots.