1. Are you ready for the Galaxy S20? Here is everything we know so far!

Drag and drop

Discussion in 'Android Development' started by screwapple, Feb 15, 2011.

  1. screwapple

    screwapple Lurker
    Thread Starter

    I've seen drag and drop examples where an ImageView has its top and left padding set to effectively move its content image around. This doesn't seem like the best idea. If I'm wrong can someone please tell me why? If I'm right can someone suggest a better way?
    Many thanks

    EDIT: Have just proved it is bad by starting a drag anywhere on screen top-left of the ImageView and it jumps to the drag position.
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...

Share This Page

Loading...