AndroidAHRSView Attitude Heading Reference System(AHRS) display module for Android. How to use it Add gradle dependency dependencies { compile 'me.billhsu.ahrsview:AHRSView:1.0.3' } Add to the layout xml Use it in your code AHRSView ahrsView = (AHRSView) findViewById(R.id.AHRSView); ahrsView.setRoll(roll); ahrsView.setPitch(pitch); ahrsView.setYaw(yaw); Demo gif For more details please check the SampleApp project. Author Shipeng Xu http://BillHsu.me http://twitter.com/1991b