Android Question Image Text appear

Discussion in 'Android Questions' started by Enthousiastic, May 23, 2015.

  1. Enthousiastic

    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 !
     
  2. klaus

    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
     
  3. Enthousiastic

    Enthousiastic Active Member Licensed User

    MANY THANKS KLAUS ! THE FORUM IS AMAZING , I'VE NEVER SEEN SUCH SUPPORT
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice