This is my first attempt at making use of B4A classes. You will need
1. JavaObject library
2. Reflection library
3. AddPermission("android.permission.VIBRATE") to be added to the manifest - the attached project has this permission already added
It uses inline Java code to activate the vibrator when a button is pressed
This will then make the ring color around the (at present green) YouTube button a reduced alpha color of whatever color you specify with cb10.RingColor = Colors.COLOR
when the button is pressed/clicked.