The ornamental design for a displayscreen with an animated icon, as shown and described.
FIG. 1 illustrates the first image of a display screen with an animated icon according to a first embodiment;
FIG. 2 illustrates the second image of the display screen with an animated icon according to the first embodiment;
FIG. 3 illustrates the third image of the display screen with an animated icon according to the first embodiment; and,
FIG. 4 illustrates the fourth image of the display screen with an animated icon according to the first embodiment.
The subject matter shown herein for each embodiment includes a process or period in which an icon image changes into another icon image on a display. This process or period in which one image transitions to another forms no part of the claimed design. The broken-line drawings of a display screen on which the animated icon is shown are for illustrative purposes only and form no part of the claimed design.