I have a question that I have not found a real consistent answer to. That is why I am speaking to you guys.
I am trying to achieve the βviewfinderβ effect for my application in the following sense:
I have a huge picture that I want to be able to "fly" (scroll horizontally and vertically until I get to the borders). So far, all the popular answers to this (or similar questions) have been to use a scheme that resembles something like this:
<ScrollView...> <RelativeLayout ...> <Imageview ...> </Imageview> </RelativeLayout> </ScrollView>
This does not work for me, because it reduces the image that I am trying to save in the original BIG size so that I can let the user navigate through it.
I think my question boils down to this: how do I get the Google Maps scrolling feature using Android views and layouts, if at all possible ... If not, do you have a suggestion? Should I focus more on 2D Canvas operations?
Thanks.
source share