I am developing an app that takes input from the user (using edit text), and draws graphic points based on this input. The problem is when I rotate my device screen, the drawn graphics are removed, and I have to repeat the same process. Is there a way to keep the graphics layer when changing the device orientation?