Auro Auro - 29 days ago 10
Android Question

How to make a ShareIt like animation in Android for searching nearby Bluetooth devices?

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

, but I want to achieve something like the following:

This is used to ShareIt app

More importantly, 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.

How can this be done?

Thank for your time!

Answer Source

Try this out,

Put this in a relative layout and your icons too, when user taps on them, take them to the next activity!