Re: [android-developers] TableLayout TableRows do not fit into screen. ImageView auto scaling.

2011-01-14 Thread TreKing
On Fri, Jan 7, 2011 at 3:10 AM, Vadim Vohmjanin  wrote:

> Problem is for now, i have only 4 TableRows drawn with ImageViews in it.
> The last one 5th TableRow is shrinked to fit the space on the screen that
> has left after drawing first 4 TableRows. 6th and 7th TableRows are not
> drawn at all, since there is no space for them on the screen left.
>

Put your table in a ScrollView.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

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

[android-developers] TableLayout TableRows do not fit into screen. ImageView auto scaling.

2011-01-14 Thread Vadim Vohmjanin
Hi.

I have a problem. I want to create a TableLayout, with 7 TableRows.
Each TableRow contain 4 ImageViews in it in one row.

Problem is for now, i have only 4 TableRows drawn with ImageViews in
it. The last one 5th TableRow is shrinked to fit the space on the
screen that has left after drawing first 4 TableRows. 6th and 7th
TableRows are not drawn at all, since there is no space for them on
the screen left.

Question is: Is it possible to make ImageViews being auto scalable ,
so that all TableRows fit into screen.
Or make TableRows shrinkable, so that all TableRow heights are being
equal, so they all fit into the screen.
And then ImageViews fill in the table row.



http://schemas.android.com/apk/res/
android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal" >









































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