Thanks.
1. Create a new subclass which is a child class of TextView (say
MyTextView)? But TextView is not a ViewGroup, how can I add an
ImageView as a child of MyTextView?
2. I have looked at source code of TextView, do I need to over-look
the makeLayout() method of TextView? But then I assume I need 2 Boring
layout? One is next to the ImageView? the another one is BELOW it? But
how can I switch to use a different layout when the text get long
enough to reach the bottom of the ImageView?




On Mon, Feb 8, 2010 at 11:05 PM, Romain Guy <[email protected]> wrote:
> Hi,
>
> This is not possible using only the supplied widgets and layouts. You
> could write your own version of TextView to do this, it shouldn't be
> hard.
>
> On Mon, Feb 8, 2010 at 11:00 PM, silverburgh
> <[email protected]> wrote:
>> HI,
>>
>> In android, can you please tell me if there is a way to layout text
>> around an image?
>> Like this:
>>
>> ------  text text text
>> |    |  text text text
>> -----   text text text
>> text text text text
>> text text text text?
>>
>> Thank you.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Romain Guy
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to