Of-course I can use LinearLayout, but I wanted to understand what the
problem was.
Also my understanding is that TableRow is a LinearLayout so I was hoping it
will present the same kind of behavior
http://developer.android.com/reference/android/widget/TableRow.html. Also
when I initially star
On Sun, Feb 27, 2011 at 3:48 PM, rael_yoni wrote:
> That was just another test... that didn't work.
Well, do you really a TableLayout in this case? If you just have two rows,
consider a LinearLayout which might work better.
--
That was just another test... that didn't work.
Currently the only thing that does work is setting explicitly in code the
height and the width of item
activity.getWindowManager().getDefaultDisplay().getMetrics(metrics);
is.setLayoutParams(new TableRow.LayoutParams(metrics.widthPixels / 2,
metr
On Sun, Feb 27, 2011 at 1:32 PM, rael_yoni wrote:
> it shows only the first row in the middle of the screen (there are black
> "bars" above it and underneath it). and the second row is not seen at all...
> no matter what the content is (I placed TextViews instead of the
> ImageSwitcher)
Your ro
First of all I would like to thank you.
However it still not good. it shows only the first row in the middle of the
screen (there are black "bars" above it and underneath it). and the second
row is not seen at all... no matter what the content is (I placed TextViews
instead of the ImageSwitche
On Sat, Feb 26, 2011 at 8:11 AM, rael_yoni wrote:
> any ideas are welcome... thanks.
Ideas: Give you rows width=fill_parent. Give each of your ImageSwitchers
weight=1.
Theoretically this would make your rows fill the width of the screen and the
switcher each take up equal space within them.
--
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
sc
7 matches
Mail list logo