saurabh wrote: > <?xml version="1.0" encoding="utf-8"?> > <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ > android" > android:orientation="vertical" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > > > <FrameLayout android:id="@+id/puzzle_view" > android:layout_width="fill_parent" > android:layout_height="wrap_content" > android:layout_weight="1" > > > </FrameLayout> > </LinearLayout>
Ummmm...you seem to be missing a TableLayout and some GridViews. > I have a class that extends the TableLayout. That is the class that > represents the puzzle view. It takes care of creating appropriate rows > and adding the gridview in the rows. Finally the tablelayout is added > to the framelayout. In Java? Try putting it in your layout instead. Getting this stuff working in Java is certainly doable, but it is much simpler in XML. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---