I am still trying to understand now android layouts work. I am developing an application for displaying soccers results for a brazilian championship. I will have a list view for displaying the last game scores, like the image in the url below (extracted from an iphone aplication).
http://grem.io/images/score.jpg
I cant see how i can do this. I also need to say that i am a trully beginner on this.
Thanks
T
You could accomplish the screenshot’s layout using RelativeLayout. The left and right images can have
android:layout_alignParentLeft="true"andandroid:layout_alignParentRight="true"respectively on their declarations. As for the center content you could declareandroid:layout_alignParentTop="true"to get it anchored to the top andandroid:layout_centerHorizontal="true"to get it centered correctly. You can then assign an id to that top TextView (or whatever you make it), and then align the other two TextViews below it.You’ll have to mess around with margins to get the Views looking nice space-wise, but the above layout parameters will get you started with organizing the Views.