I want to create a TextView on my registration view which notifies about legal terms.
So the text is smth. like: "By signing up you accept our privacy policy and terms and conditions."
Privacy Policy aswell as terms and conditions should be clickable and trigger a callback.
Coming from HTML by initial approach was to somehow add a link in there but those seem to be only for the web/browser-app.
So I thought about creating a nested layout containing the text as sepereate text like:
<LinearLayout /* ... */>
  <TextView android:text="By signing up you accept our "/>
  <TextView android:text="privacy policy" 
    android:clickable="true" 
    android:focusable="true" />
  <TextView android:text="and" />
  <TextView android:text="terms and conditions" 
    android:clickable="true" 
    android:focusable="true" />
  <TextView android:text="." />
</LinearLayout>
But this approach seems kinda odd, because I have to create so many elements and an additional layout. Are there any better solutions then my approach?
 
     
     
    