Hi,
I would like to have two column layout.
In first column I would put 4 textview elements and in the second one I
would put big picture.
What would be the best approach for this?
tnx.
--
God is Real, unless declared Integer.
J. Allan Toogood, FORTRAN programmer
--
You received this
Don't use TableLayout here, as its strength is in the other dimension
(aligning views one below another).
You can use a horizontal LinearLayout, with two children: a vertical
LinearLayout for your text views, and an image view.
Or you can do this with one RelativeLayout: position the image
On Fri, Dec 17, 2010 at 3:50 PM, Kostya Vasilyev kmans...@gmail.com wrote:
Don't use TableLayout here, as its strength is in the other dimension
(aligning views one below another).
You can use a horizontal LinearLayout, with two children: a vertical
LinearLayout for your text views, and an
Got it !
layout_weight=1 for children solved the problem.
Tnx once again Kostya.
--
God is Real, unless declared Integer.
J. Allan Toogood, FORTRAN programmer
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Too many LinearLayouts - you only need one for all the text views (with
orientation=vertical and width=wrap_content).
And it's not necessary to declare an XML namespace on each tag (the
xmlns:android stuff), although it does no harm.
-- Kostya
17.12.2010 18:03, Nikola ?:
On Fri, Dec
5 matches
Mail list logo