I have a TextView with android: autoLink = "web". The text contains multiple URLs.
For example:
http://example.com/
But when rendering, it links the name scheme and the domain name, but ignores the root path.
An example displays like:
http://example.com /
Why is he doing this and how can I do this automatically for legitimate URLs?
Edit: also URLs followed by a full or comma:
http://example.com/ ,
Displayed as:
http://example.com/,
Note that StackExchange automatically sets the correct one (see source for this question).
Edit: Sam, this is the code:
<TextView android:id="@+id/open_source"
android:text="@string/open_source"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="#FFF"
android:paddingBottom="10dp"
android:autoLink="web" />
Some texts:
<string name="open_source">Three examples, fully qualified http:
:
, http://isokeys.sourceforge.net/ http://isokeys.sourceforge.net, http://isokeys.sourceforge.net/.
:
, http://isokeys.sourceforge.net/ http://isokeys.sourceforge.net, http://isokeys.sourceforge.net/.