I have a TextView with HTML text which contains two hyperlinks:
<string name="agreement"><![CDATA[By signing up I agree to <a href="file:///android_asset/terms.html">Terms of Use</a>, Payment terms and <a href="http://www.google.com">Legal Policy</a>]]></string>
Both links are clickable, but the first one fails to be opened by any viewer on my Nexus 5. Some application appears for a second, then it shuts down and a toast is saying "Cannot display PDF (terms.html cannot be opened)"
How can I make the local hyperlink open HTML file in browser?