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, 
metrics.heightPixels / 2));

(and even in that case the ImageSwitchers don't feel the entire of the 
screen (there is this spacing between the images and the "cell" borders).

I was hoping there is an elegant solution in code but it seems there isn't 
one. 

Thanks again. 
Yoni 

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