Scrollable area like in Robo Defense game(both horizontal and vertical)

by Maksim » Thu, 13 Aug 2009 22:45:58 GMT


Sponsored Links
 I'm trying to implement something very similar in my application, but
looks like it's impossible to do this with standard components. I read
several topics about such scrolling feature in the group, but all the
topics ends with suggestion to write your own scroll view.
I wonder did somebody implement such scroll view already? Or can
somebody provide a brief how-to on this particular feature.
I think any information on this would be very appreciated by many
members of the group.

Thanks.


--~--~---------~--~----~------------~-------~--~----~



Scrollable area like in Robo Defense game(both horizontal and vertical)

by Markus Junginger » Thu, 20 Aug 2009 08:18:13 GMT


 I'm in the same boat and need a custom ScrollView capable of scrolling
in both directions. Before I start it on my own, I wanted to check
here first. This has probably done before a couple of times and maybe
someone does not mind sharing some code?

Anyone knows if Donut is going to support scrolling in both
directions?

Thanks,
Markus
--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Scrollable area like in Robo Defense game(both horizontal and vertical)

by Markus Junginger » Thu, 20 Aug 2009 14:05:26 GMT


 


They must use there own custom UI component because it's not supported
by Android 1.5. Most games won't scroll any child views but will
implement a single game View and handle scrolling "just" for this
view. At least that's how I do it.

Nevertheless, what I was looking for is view something else. To
clarify my requirements a little more: there is just a fixed size View
which is larger than the screen and you need to scroll that and its
child views in both directions. I hope someone shares his/her
solution.
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Looking for intents to control a media player

I'm trying to write a universal music widget, and struggline to figure
out the best way to control the user specified music player without
having to explicitly include coded dedicated to each media player in
code. I'm hoping that there are generic intents that get passed on to
the user specified music player, however I haven't been able to figure
out what they are.

Do I need to figure out the intents for each individual player?

-- 

2. Henpon android

Guys, ... Handphone android apa yg mempunyai kriteria dibawah ini :

1. Layar 4" ke atas
2. Qwerty
3. Gsm
4. Bisa video call Dengan kamera depan.


Kalaypun nggak bisa semua, bisa dihilangkan satu dari syarat diatas.

Thnx
aom-bb8800-denpasar

-- 
===============
"

3. Multitouch Gestures

4. Android CFS Scheduling

5. Paging: Droid 1 user ( WTA ROM Droid 1)

6. Info harga 2nd Xperia 10 (bukan yg mini)

7. [WTA] video call di dell streak