I have a LinearLayout/Scrollview/LinearLayout in which I need two links.
first is a regular TextView - that works fine. SECOND TextView is in a RelativeLayout with an ImageView left from it, that's not working. (LinearLayout/Scrollview/LinearLayout/RelativeLayout ImageView TextView* )
TextView first = (TextView) v.findViewById(R.id.first_tv);
TextView second = (TextView) v.findViewById(R.id.second_tv);
first.setText(Html.fromHtml(getString(R.string.url_first)));
Linkify.addLinks(first, Linkify.ALL);
second.setText(Html.fromHtml(getString(R.string.url_second)));
Linkify.addLinks(second, Linkify.ALL);
first textview click works. Why does the second textview look like it's a link but it's not opening the browser on click?