Rotate device keeping gravity pointing down

Is it possible to have gravity always point down? An example would be to have a body on the screen, and rotate the device to try and keep it centered in the screen.

if using accelerometer just set x,y gravity to xGravity*10 and yGravity*10

if using accelerometer just set x,y gravity to xGravity*10 and yGravity*10