HI http://bazaar.launchpad.net/~pjv/androidsfortune/trunk/annotate/head%3A/src/net/lp/androidsfortune/utils/FullScrollView.java.<http://bazaar.launchpad.net/%7Epjv/androidsfortune/trunk/annotate/head%3A/src/net/lp/androidsfortune/utils/FullScrollView.java.>
this will work smoothly only not like webview.... both horizontal and vertical scroll will happen here.... On Fri, Sep 25, 2009 at 10:06 AM, Mark Murphy <mmur...@commonsware.com>wrote: > > > The idea is that I want to use standard UI designs for things. I have > > a large scrollable area, and I want people to know it's scrollable > > because there's the same scrollbars that they see in other > > applications. > > Games don't usually have scrollbars, so I fail to see how adding > scrollbars to a game fits "standard UI designs for things". But, I'm > probably just missing something. > > > It feels silly to have to rebuild the scrolling functionality from > > scratch. It already exists in another component, and really should > > exist in a primitive form, but if I have to rebuild that functionality > > from scratch, well, I guess that's what I have to do. > > You assume WebKit's scrolling is handled like the scrolling of other > widgets. I strongly suspect that is not the case -- WebKit itself probably > handles its scrolling, and reports events to the rendering layer to > indicate characteristics of the scrollbar (thumb position, thumb size) to > be drawn. This is very much not in the spirit of ScrollView, but it would > be necessary for WebKit, since that works on a variety of environments, > from desktops to non-Android phones. It also may not be terribly reusable. > > > I just hope that in a future SDK release, someone will realize that > > not having this particular bit of functionality outside of the WebView > > widget is unnecessarily limiting. > > If you can point to code in http://source.android.com that demonstrates > the code is, indeed, separable into a reusable component, please do. If > you find it, log an issue to http://b.android.com requesting that such > code be pulled out into such a reusable component. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > Android App Developer Books: http://commonsware.com/books.html > > > > > > -- Regards ------------------- Desu Vinod Kumar vinny.s...@gmail.com 09176147148 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---