autoLink for map not working

Posted by OceanBlue on Stack Overflow See other posts from Stack Overflow or by OceanBlue
Published on 2010-04-12T19:08:22Z Indexed on 2010/04/12 19:13 UTC
Read the original article Hit count: 438

Filed under:
|

I have the following TextView in my XML layout file:-

<TextView  
   android:layout_width="fill_parent" 
       android:layout_height="wrap_content" 
       android:text="@string/autolink_test"
       android:autoLink="all"
/>

The string autolink_test contains a phone number, an email address, a website address and a physical geographical address.

While the first three are showing up correctly as clickable autolinks, the address does not. Only the zipcode part shows up as an autolink... and that too as a phone number! (When I click it, the phone dialer starts up with that number).

Any help would be appreciated.

© Stack Overflow or respective owner

Related posts about android

Related posts about android-widget