First of all, sorry for the delay to reply...=P
I have just read your message... i have started already and I have
developed much I think =)
I will tell you what I have, I will focus on the "engine"(GUI):
a main menu with buttons, one with START GAME.... goes to another
activity, there another button to start the game itself, the "engine":
a new activity is called, it loads almost everything from the 2
layouts from code, not XML, i think it's more flexible.
FIRST LAYOUT: a imageview with a huge picture on it.... it has a -
onTouchEvent- that makes the scroll works...
loads too some imageviews(citys) in the same layout as the map, so
those images move with the scroll.
The other layout, the main layout, has a imageview and a
button.........and here comes the 2 problems that appeared =P:
-How can I arrange views in a RelativeLayout, but on code, not XML.
-and I can't think out how to create an array of ImageViews.

I tried something like this but didn't work, for example to set an ID:

ImageView[] var1 = new ImageView[4];

var1[0].SetId(100);


AND SORRY FOR MY ENGLISH =P

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to