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.
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. 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. On Sep 23, 9:32 pm, "Mark Murphy" <mmur...@commonsware.com> wrote: > > Scaling will not work, and yes, I need to scroll in both directions. > > > This is for an Android port of Nethack: > > >http://www.nethack.org/ > > > For reference, here's an image of the WinCE port: > > >http://images.google.com/imgres?imgurl=http://freewareppc.com/images/... > > > There's a large map, the tiles are 16x16 pixels, and scrolling in both > > directions is absolutely required. > > > This is really something that should be easy in Android, but I have no > > idea how to do it. > > Try using the 2D graphics API (Canvas and SurfaceView). I suspect there > are few, if any, games on Android akin to Nethack that attempt to use the > widget API (ImageView and scrolling containers). > > I know that Ed Burnette's book _Hello, Android_ covers this API, albeit > for a Sudoku game rather than something like Nethack. One of these days, > I'll have to learn this stuff myself... > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android App Developer Books:http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---