Is it possible to add a website link in layout XML file of an Android app without touching Java file? Someone already posted this code but I don't know how to use it in the XML file.
<TextView android:textSize="18sp" android:autoLink="web" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="16dp" android:text="http://www.example.com" tools:ignore="HardcodedText" />