1. Check out our companion app, Forums for Android! Download from Google Play

Android View and Paths

Discussion in 'Application Development' started by dameert, May 10, 2011.

  1. dameert

    dameert Member
    Thread Starter

    Oct 3, 2010

    I am developing a drawing tool on the android platform. It is basically a View that includes different paths and draws (shows) these. Now I'm trying to add a listener to the paths so that one can touch a path and change it's color.

    I was thinking about wrapping each path in its own view. My main view would then exists of different views that each have exactly one path.
    The problem is that I can't find the way to do this.

    My code has now one view that contains all the paths (so they are not "touchable").

    Suggestions for other strategies are appreciated.


Share This Page