1. Download our Official Android App: Forums for Android!

Apps Android View and Paths

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

  1. dameert

    dameert Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    5
    Joined:
    Oct 3, 2010

    Oct 3, 2010
    5
    0
    5
    Hello,

    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.
     

    Advertisement

Share This Page

Loading...