Remove On-screen volume display from ipad
There's no way to disable the animation when using the physical buttons. If the icon shows up for far longer than the buttons are pressed, I would suspect your volume button might be stuck or there's hardware / sensor damage inside.

For a workaround, I have an iPad with a similar problem, and I use AssistiveTouch


Device > Volume Control (tap a few times) to dismiss the popup.