Hello.

I'm trying to use a table layout inside a linear layout.  My problem is that
everything inside the table layout is not appearing on the screen.  My code
is below, what do I need to change to make it work?  Thanks!

 

<?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"

>

<TextView

android:id="@+id/pictitle"

android:layout_width="fill_parent"

android:layout_height="wrap_content"

android:layout_marginTop="10dip"

android:text="Take a Picture" /> 

<SurfaceView android:id="@+id/camsurface"

android:layout_width="fill_parent" 

android:layout_height="10dip"

android:layout_weight="1">

</SurfaceView>

<TableLayout

android:id="@+id/tablelayout"

android:layout_width="fill_parent"

android:stretchColumns="*"

> 

<TableRow> 

<Button android:id="@+id/snapshot"

android:layout_width="wrap_content" 

android:layout_height="wrap_content"

android:text="Snapshot" />

<Button android:id="@+id/next1"

android:layout_width="wrap_content" 

android:layout_height="wrap_content"

android:text="Next" />

</TableRow>

</TableLayout> 

</LinearLayout>

 
-- 
:-) 
P Please don't print this e-mail unless you really need to. 
 
 <http://www.crossloop.com/Teenah> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to