Just found this thread which describes the problem:

http://groups.google.com/group/android-developers/browse_thread/thread/ccb475c855e8785a/f1f80a34fe3ff179

To confirm, the text was not actually disappearing, but being set to
black (and appearing to disappear where the background is also black).

The workaround is to explicitly set the textColor and this works for
me.

On May 6, 12:32 pm, westmeadboy <[email protected]> wrote:
> Just tried this using the emulator (SDK 1.6), and the same problem
> occurs.
>
> So it could be some change that has been introduced from 1.6.
>
> Note: if no links are created in the text, then the problem does not
> occur. In other words, clicking on the TextView does not result in the
> text disappearing.
>
> Linkify must be changing something about the TextView to make this
> happen...
>
> On May 4, 7:42 pm, westmeadboy <[email protected]> wrote:
>
>
>
>
>
> > I notice this happens on the Nexus One but not on the HTC Hero (EU
> > version).
>
> > Anyone else experience this?
>
> > On May 4, 1:36 am, westmeadboy <[email protected]> wrote:
>
> > > I'm not sure if this is by design but...
>
> > > I have a text view (white text on black background) which is
> > > linkified. If at least one link is created and the user touches on any
> > > non-linked part of the text, then the non-linked part disappears (or
> > > turns black, I'm not sure).
>
> > > Is there any way to stop this?
>
> > > --
> > > 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 
> > > athttp://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 
> > athttp://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 
> athttp://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