I'm trying to do something incredibly simple: I want a layout which 
evenly divides the space up among its children, so each child is the 
same size. I cannot figure out how to do this.

LinearLayout appears to assign space to all of its children and then 
allocate the *remaining* space --- so a TextView with a label of "LONG" 
gets more space than a TextView with a label of "I", even if it's not 
necessary.

TableLayout... well, I can't figure out what rules TableLayout uses to 
assign its space. But I still get much the same effect, regardless of 
how I fiddle with shrinkColumns and stretchColumns.

Does anyone know how I can do this?

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ ⍎'⎕',∊N⍴⊂S←'←⎕←(3=T)⋎M⋏2=T←⊃+/(V⌽"⊂M),(V⊝"M),(V,⌽V)⌽"(V,V←1⎺1)⊝"⊂M)'
│ --- Conway's Game Of Life, in one line of APL

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