I'm wrestling with the Android UI to try to create a table layout that has 2 
rows each row containing 2 ImageSwitchers, And would like the table 
to occupies the entire screen. But I simply can not accomplish it, sometimes 
the emulator shows 1 ImageSwitcher that is aligned to the right of the 
screen to its entire height, sometimes it shows nothing, sometimes the image 
aligned to the bottom of the screen (but only 1 of it)...  

I'm attaching one of the configurations I tested. It is wrong for sure but I 
really don't know what to do. any ideas are welcome... thanks.

<TableLayout android:id="@+id/TableLayout01" 
android:layout_width="fill_parent" android:layout_height="fill_parent" 
xmlns:android="http://schemas.android.com/apk/res/android";>
<TableRow android:id="@+id/TableRow01" android:layout_width="wrap_content" 
android:layout_height="wrap_content">
<ImageSwitcher android:layout_column="0" 
android:id="@+id/imsLeftTop"></ImageSwitcher>  
<ImageSwitcher android:layout_column="1" 
android:id="@+id/imsRightTop"></ImageSwitcher>
</TableRow>
<TableRow android:id="@+id/TableRow02" android:layout_width="wrap_content" 
android:layout_height="wrap_content">
<ImageSwitcher android:layout_column="0" android:id="@+id/imsLeftBottom" 
></ImageSwitcher>
<ImageSwitcher android:layout_column="1" android:id="@+id/imsRightBottom" 
></ImageSwitcher>  
</TableRow>

</TableLayout>     

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to