Class 1 See activity_main.xml for adfing costum view in xml. See Dreidel.java for costum view. Sensing See MainActivity for sensing example. Using Accelerometer for moving the dreidel when tilting the phone.