You are right. ScrollView only supports vertical scrolling and HoriontalScrollView supports horizontal scrolling.
Since WebView scrolls like you want to it, why don't use it ? WebView w = (WebView)findViewById(R.id.webkit); w.loadUrl("http://www.android.com/goodies/android_vector.jpg"); Use the url of the image, not a web page. Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 22, 5:05 am, jsera <gall.blad...@gmail.com> wrote: > I have a large image, and I'd like to scroll around it like you'd > scroll around inside a WebView. > > This means horizontal, and vertical scrollbars. > > Since ScrollView and HorizontalScrollView only have vertical, and > horizontal scrollbars respectively, neither of these will do what I > want. Sticking a HorizontalScrollView inside a ScrollView doesn't > work, because the horizontal scroll bar disappears when you scroll up. > > WebView scrolls exactly like what I want, but I don't want to display > a web page, just an image created dynamically. There has to be some > way of doing this without writing an entirely new class. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---