My main activity is a fragment but I included the XML of the pedometer at the fragment layout. I\'m not sure why is it not working... I read through the types of sensors to use