Android Question Image Text appear

Enthousiastic

Active Member
Licensed User
Hello , i want having an image pressing on it to appear a text box , saying information about it , for example " This is John Smith " and when i click on image again the text box disappear.

Can you tell me a way to do it please ( Not message box ) ?


Many thanks Enthousiastc !
 

klaus

Expert
Licensed User
Add a Label above the image and play with the visible property.
In the Image_Click event set the Label.Visible = True and set the Text property with the correct content
and in the Label_Click event set the Label.Visible = False
 
Top