super.onCreate(savedInstanceState); final PathsView view = new PathsView(this); setContentView(view);