Hi,
I have a TextView. I am setting its textAppearance attribute, as well
as autoLink="all":
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:autoLink="all"
android:textAppearance="@style/myStyle" />
With this configuration, items do get linkified, but the text for them
is invisible. For example, the input:
"Hello, welcome to http://www.google.com!"
will linkify the url correctly, but it will be invisible, so it will
look like this when running:
"Hello, welcome to !"
the link is still clickable and focusable though.
If I remove the android:textAppearance line from my TextView
declaration, then the link displays as usual. My style is simply:
<style name="myStyle">
<item name="android:textSize">16dip</item>
</style>
Any idea if this is a known bug, or if I'm doing something wrong here?
If I just directly specify the textSize attribute on the TextView
itself, it works fine, so maybe there is a bug with the linkify stuff
when textAppearance is supplied.
Thanks
--
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