It would be a matter of debate from the UX folks, and I say this from years of prior working at a handset manufacturer. On a small screen, the need for scrolling in both directions is not really that common, nor that desirable. I don't have insights on why Android does not support scrolling functionality in both directions in a single view/ widget, but I guess it maybe for the same reason.
That being said, have you solved your current issue of displaying the image as you wish to ? You could also scale your image to fit the screen, but I assume you already thought about that. Take care, 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 23, 12:07 pm, jsera <gall.blad...@gmail.com> wrote: > The image is being dynamically created by the app, and so doesn't > exist on the web. I don't need network connectivity, or the ability to > parse HTML, so a full WebView is overkill. > > I just figure that since WebView has the scrolling functionality I > want, and that it seems like that method of should be pretty common, > it should exist as a separate component. > > On Sep 22, 11:49 am, "Balwinder Kaur (T-Mobile USA)" <balwinder.k...@t- > > mobile.com> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---