Check out table_layout_10.xml: http://developer.android.com/guide/samples/ApiDemos/res/layout/table_layout_10.html
It uses a table containing TextView's and Button's. Basically, you want a series of TableRow views, containing the Button views inside (each View becomes a new cell). <TableLayout> <TableRow> <Button android:id="@+id/button1x1" /> <Button android:id="@+id/button2x1" /> <Button android:id="@+id/button3x1" /> </TableRow> <TableRow> <Button android:id="@+id/button1x2" /> <Button android:id="@+id/button2x2" /> <Button android:id="@+id/button3x2" /> </TableRow> <TableRow> <Button android:id="@+id/button1x3" /> <Button android:id="@+id/button2x3" /> <Button android:id="@+id/button3x3" /> </TableRow> </TableLayout> On Tue, May 26, 2009 at 12:16 PM, abcom <abcom.mum...@gmail.com> wrote: > > The apisamples in android-sdk samples do not contain the layout files > for API samples. Where do I find these XML files? Alternatively, how > do I create a simple layout with 3x3 table with each table cell > containg a button view object? > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---