An electronic device comprising an internal component , a frame configured for receiving said internal component , a housing comprising a display , said housing at least partially enclosing said frame and said internal component along a longitudinal axis (A1) of said electronic device , at least one end cap configured to engage with an open end of said housing , said open end extending perpendicular to said longitudinal axis (A1), connection means configured to connect said end cap rigidly with said frame and resiliently with said internal component , said connection means comprising a female part and a male part , said female part being arranged at least partially between said frame and said internal component in the direction of said longitudinal axis (A1), said female part comprising a first opening , said frame comprising a second opening , and said end cap comprising a third opening , said first opening , said second opening , and said third opening being aligned and configured to receive said male part , said male part being configured to engage at least one of said first opening , said second opening , and said third opening wherein said male part is fixed in position, in relation to said frame , along said longitudinal axis (A1), said female part comprising at least one tongue configured to engage with a surface of said internal component , wherein said internal component is displaceable in relation to said frame in at least a direction (P1) perpendicular to said longitudinal axis (A1), said end cap comprising an antenna part and a nonconductive part , said nonconductive part separating said antenna part from said frame , said connection means being conductive and extending from said antenna part to said internal component . an internal component , a frame configured for receiving said internal component , a housing comprising a display , said housing at least partially enclosing said frame and said internal component along a longitudinal axis (A1) of said electronic device , at least one end cap configured to engage with an open end of said housing , said open end extending perpendicular to said longitudinal axis (A1), connection means configured to connect said end cap rigidly with said frame and resiliently with said internal component , said connection means comprising a female part and a male part , said female part being arranged at least partially between said frame and said internal component in the direction of said longitudinal axis (A1), said female part comprising a first opening , said frame comprising a second opening , and said end cap comprising a third opening , said first opening , said second opening , and said third opening being aligned and configured to receive said male part , said male part being configured to engage at least one of said first opening , said second opening , and said third opening wherein said male part is fixed in position, in relation to said frame , along said longitudinal axis (A1), said female part comprising at least one tongue configured to engage with a surface of said internal component , wherein said internal component is displaceable in relation to said frame in at least a direction (P1) perpendicular to said longitudinal axis (A1), said end cap comprising an antenna part and a nonconductive part , said nonconductive part separating said antenna part from said frame , said connection means being conductive and extending from said antenna part to said internal component . <EOS>