Questions tagged [autolink]

103 questions
96
votes
7 answers

How do I prevent auto-generated links in the GitHub wiki?

On a GitHub wiki page, if I type: www.foobar.com GitHub automatically assumes this is a URL and makes the text a hyperlink to http://www.foobar.com. However, sometimes I do not want a hyperlink to be created. Is there a way to stop this behavior?…
david
  • 1,814
  • 1
  • 16
  • 19
21
votes
5 answers

Autolink inside a TextView in android

How to give autolink for some part of textview ? For example : My text inside TextView is "Please click here to open this webpage". I want to show link for only the text "here". And I should open that webpage onclick of the text "here" but not on…
Rahul Baradia
  • 11,802
  • 17
  • 73
  • 121
19
votes
1 answer

Why was auto_link deprecated in Rails?

I realize it's been pulled into a separate gem, but what's the reason? Is this just a matter of streamlining Rails, or is there some reason I should be weary of auto_link? (The gem says it's meant to 'bridge the gap for people migrating', which…
doublea
  • 2,546
  • 1
  • 23
  • 35
9
votes
3 answers

Non scrollable textview in android

I have a textview configured in my XML as below.
Sam
  • 286
  • 1
  • 10
8
votes
1 answer

ListView with TextView autoLink not receiving OnItemClickListener

My PostFragment.java implements AbsListView.OnItemClickListener, and I get the onItemClick event without a problem on every item, unless there's a link on the TextView: lblListItem. The link on the TextView can be clicked without a problem and open…
8
votes
2 answers

Android:autoLink not working fully on my 4.4 device

I'm new to Android programming, and I had this weird problem, I wanted to make phone numbers in a list clickable, where they send you the the dialer, now this worked on my Android phone, but it seems to only work on numbers of 10-chars, but when I…
thinkereer
  • 117
  • 2
  • 8
6
votes
1 answer

React-Native 0.60+ Exclude library from autolink

In RN 0.60 we got autolink feature that will link native dependencies at runtime. My question is is there way to exclude some libraries from autolink. I think this can be achived using react-native.config.js file but i haven't found way to do it…
kenobi91
  • 75
  • 1
  • 4
6
votes
3 answers

Linkify.addLinks with Span not working

I have textview with autoLink, but whenever i add custom span (ClickableSpan) to textview its auto link to web url and mobile number is not working. is there any easy way to solve this issue. Style is applied but click is not working.
Bincy Baby
  • 3,941
  • 5
  • 36
  • 62
5
votes
1 answer

Autolinking is not set up in `settings.gradle`: expo modules won't be autolinked

I am designing a React Native application and I would like to create an Apk to test the app. But when I click on "Sync project with Gradle Files" on Android Studio, I get the following error: Autolinking is not set up in `settings.gradle`: expo…
Bryan
  • 51
  • 1
  • 2
5
votes
3 answers

autoLink with onClick event

I have a list of web address display in a ListView. Each item of ListView have a TextView and an ImageView. TextView have attribute autolink="web". I also have event: onItemLongClick in this ListView to open details of each others. But when I do…
4
votes
3 answers

Android - long pressing to open the context menu on a TextView also triggers an autoLink click

I have a TextView that launches a context menu: textView.setOnCreateContextMenuListener(new OnCreateContextMenuListener() { @Override public void onCreateContextMenu(ContextMenu contextMenu, …
4
votes
1 answer

How to use autoLink in textView and custom URLSpan both together?

I have a textView like this: And a Spannable string like…
user3473590
3
votes
1 answer

Autolink phone numbers

I am using autolink="phone", but however, I have tried to link it with 3 digits (for e.g. 911, for emergency calls), but it doesn't work. Is there a minimum amount of digit before it can link to the dialer? Or is there any quick alternative out…
Winona
  • 2,950
  • 2
  • 21
  • 29
3
votes
1 answer

Google Analytics Cross-Domain: Bad or expired linker parameter hash

I'm implementing cross-domain tracking using autoLinker for a client's Google Analytics tracker on our product. We have a testing site that mimics the client's use case. It seems like our use case is pretty straightforward, but we're getting an…
3
votes
0 answers

autolink stealing the ontouch event and thus feedback on touching a listview row not working

I have a listview. And a row layout containing few layouts in it. Inside the row layout I have a TextView on which I want to enable autolink When I am enabling the autolink, the link is working fine but the feedback which we get when we click a list…
1
2 3 4 5 6 7