How to make a ShareIt like animation in Android for searching nearby Bluetooth devices?
<p>I'm working on a simple Android Bluetooth app that will search for nearby bluetooth devices and connect to them. Currently, I'm displaying all the nearby Bluetooth devices in a <code>ListView</code>, but I want to achieve something like the following: </p>

<p><a href="https://i.stack.imgur.com/Vbbst.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Vbbst.gif" alt="This is used to ShareIt app"></a></p>

<p><strong>More importantly,</strong> I want to show an appropriate icon here for every nearby Bluetooth device. For example, if it's a phone, then icon should be of a phone, if a Bluetooth Audio device, then a headphone icon.</p>

<p>How can this be done? </p>

<p>Thank for your time!</p>