1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

Android View and Paths

Last Updated:

  1. dameert

    dameert Member This Topic's Starter

    Oct 3, 2010
    Likes Received:

    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