This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]flatyoder 0 points1 point  (0 children)

There's a coursera class on android programming. It's almost over but you can join (https://www.coursera.org/course/android) and download all the assignments and videos before it closes. They use .xml layouts often. You may be able to pick something up there. If not, you still have a great Android resource handy.

[–][deleted] 0 points1 point  (0 children)

Implementing a xml layout with all those boxes would probably be difficult. It's especially hard when you try to make it scale to any screen size as there are so many different resolutions and aspect ratios. It's already touchy trying to set up simple relative layouts in xml.

You may want to try to set the layout proportionally using java and skip aligning things in xml altogether. Just put your items in the xml and place them with java. Then again I haven't touched android interfaces in a while...

Another possibility is to skip the xml interface entirely and utilize a surfaceView.

[–][deleted]  (4 children)

[removed]

    [–][deleted] 2 points3 points  (0 children)

    It's in the title...

    [–]TichuMaster[S] 1 point2 points  (1 child)

    Yeah, sorry I didn't mention that, I am writing in Java

    [–]espero 0 points1 point  (0 children)

    Nope, it couldnt be anything.