I just tried that, problem now is that I need my view rendered before
the image, such that the image is rendered on top of the view. I
cannot reference a view that is defined later in the xml, and I can't
seem to find an option to render a view below a previously rendered
view. So I'm back to
Yes you can use forward references inside relative layouts (starting with
1.6).
Make sure to use @+id the first time a particular view id is needed - view
references are one thing, id definitions, quite another.
--
Kostya Vasilyev
04.08.2011 11:46 пользователь Mark Gjøl bitflips...@gmail.com
Ah, the +. Thank you very much, that solved my problem!
- Mark Gjøl
On Aug 4, 9:50 am, Kostya Vasilyev kmans...@gmail.com wrote:
Yes you can use forward references inside relative layouts (starting with
1.6).
Make sure to use @+id the first time a particular view id is needed - view
On Aug 3, 4:09 pm, Kostya Vasilyev kmans...@gmail.com wrote:
03.08.2011 17:25, Mark Gjøl пишет:
Yep, it seems that's how it works, even with Android 1.6, 2.0, etc.
Any thoughts?
Yes, build the layout some other way - such as anchor a view to the top,
then add more views with layout_below -
Um, android:layout_bottom ?
03.08.2011 18:56, Mark Gjøl пишет:
That won't achieve what I want. To achieve the result I want it is
important for the bottom line to be placed exactly on the bottom on
the image - not below it. So putting it relative to the image won't do
it for me.
- Mark Gjøl
5 matches
Mail list logo