Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Android Negative Left & Top Values


I'm having trouble creating a draggable view (an ImageView) in Android. I can quite happily drag the image down and to the right, but I'm unable to get the image to go past the top of the screen (negative top value) or past the left of the screen (negative left value). This works fine on the iPhone, but Android seems to not allow negative top/left values.

What I'm actually trying to achieve is a two-way scroll view, something that isn't built in to Android. Has anyone else implemented something like this?

Anyone know a fix for this?


— asked June 24th 2010 by Michael Park
  • android
  • drag
  • left
  • negative
  • scrollable
  • top
  • view

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.