Erel,
I copied your code from a June 9, 2016 question labeled "Label with link" by Umberto. You suggested using the following code:
Sub Linkify(tv As TextView)
Dim no As NativeObject = tv
no.SetField("editable", False)
no.SetField("dataDetectorTypes", 0xffffffff)
End Sub
I modified it to use with a view that I created with Designer:
Dim no As NativeObject = TextViewiS
no.SetField("editable", False)
no.SetField("dataDetectorTypes", 0xffffffff)
You indicated the text would be a link and un-editable.
I typed a url into the textview's Text in Designer but, when I run my app, it displays as an editable text not an un-editable link.
Did I misunderstand? Should this still work? Is there now a better way to do this?
My goal is to have the user tap a button the takes them to a screen with a list of executable links.
I copied your code from a June 9, 2016 question labeled "Label with link" by Umberto. You suggested using the following code:
Sub Linkify(tv As TextView)
Dim no As NativeObject = tv
no.SetField("editable", False)
no.SetField("dataDetectorTypes", 0xffffffff)
End Sub
I modified it to use with a view that I created with Designer:
Dim no As NativeObject = TextViewiS
no.SetField("editable", False)
no.SetField("dataDetectorTypes", 0xffffffff)
You indicated the text would be a link and un-editable.
I typed a url into the textview's Text in Designer but, when I run my app, it displays as an editable text not an un-editable link.
Did I misunderstand? Should this still work? Is there now a better way to do this?
My goal is to have the user tap a button the takes them to a screen with a list of executable links.