public class MainActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
If you want that the canvas is be re-draw call invalidate(), and the method onDraw() will be re-executed