Add a button inside a Textview

0

I have a text at the end of the text I want to put a button to see more, have to put type a hyperlink or have to create a button even on the side of Textview ?

    
asked by anonymous 24.03.2015 / 13:40

1 answer

2

You can assign the parameters in your TextView to make them work as buttons.

android:clickable="true" this will tell you that your TextView has a button function

android:onClick="selecionarOpcao" This will call a function of your Activity content the functionality you want.

    
16.07.2015 / 03:05