It's the same link I had put into my original post (at least the information behind it). My problem is slightly different: I'm not worried about the background changing color (in fact, I have the default black background), but in this case the *text* changes color from the default white (or light gray) to dark, once you touch the text or scroll it, if it contains a link somewhere.
My question: Is this a feature, or a bug? Peli On Jan 14, 4:41 pm, Al Sutton <a...@funkyandroid.com> wrote: > http://www.curious-creature.org/2008/12/22/why-is-my-list-black-an-an... > > Al. > > > > Al wrote: > > 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 <peli0...@googlemail.com> 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 > > -- > ====== > Funky Android Limited is registered in England & Wales with the > company number 6741909. The registered head office is Kemp House, > 152-160 City Road, London, EC1V 2NX, UK. > > The views expressed in this email are those of the author and not > necessarily those of Funky Android Limited, it's associates, or it's > subsidiaries. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---