I had this problem as well, but it went away after a while.
Unfortunately, I can't remember what I did to make it go away. My xml
layout for it is nothing special, it's also wrapped in a ScrollView,
but I am using the linkify.addLinks(Spannable, int) method rather then
the xml attribute for autolink (which never worked for me anyway).

On Jan 14, 1:19 pm, Peli <[email protected]> wrote:
> It seems if a text view contains links, and the part of the text
> without links is clicked for the purpose of scrolling, then the text
> gets black while the item is being touched.
>
> This does not happen for TextViews that do not contain a link.
>
> Is this intended behavior? (e.g. make the links stand out more if you
> click on an unlinkified text). Or is this some unwanted side-effect of
> some cache optimization (similar to what is explained 
> here:http://android-developers.blogspot.com/2009/01/why-is-my-list-black-a...
> )?
>
> Here is a layout fragment: If the license text contains links, then
> the text without links gets black during scrolling, or actually as
> soon as it is being touched.
>
> <ScrollView android:id="@+id/sv_license"
> android:layout_width="fill_parent"
>         android:layout_height="fill_parent" android:padding="5dip"
> android:fadingEdge="vertical"
>         >
>                 <TextView android:id="@+id/et_license"
>                         android:textAppearance="?android:attr/
> textAppearanceSmall"
>                         android:layout_width="fill_parent"
> android:layout_height="wrap_content"
>                         android:autoLink="web|email|map"
>                         android:paddingBottom="20dip">
>                 </TextView>
> </ScrollView>
>
> Any insight would be appreciated.
> Can we circumvent this behavior by applying a custom Theme? If yes,
> which element would have to be changed?
>
> Peli
--~--~---------~--~----~------------~-------~--~----~
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