views:

592

answers:

3

Hey,

I am searching for a way to position my text around my imageview (so like the css float left/right). How can I do this in Android? I have used android:layout_alignParentLeft="true" (to position my imageview left) and android:layout_alignParentRight="true" for my textview but the textview comes next to the imageView and doesn't continue underneath the ImageView when I have a long text..

Anyone an idea?

Wouter

A: 

You need to use RelativeLayout as the container

Vinay
yes i use RelativeLayout as surrounding layout.. but it isn't working :s
wouter88
+1  A: 

I've also tried many ways but no luck. I don't think Text would flow in the current Android as it does in html.

hwii77
would it be possible if I use styled text with html and <img> tag with float:left in it?
wouter88
not sure what path to put in "src" value though...
hwii77