1. Download our Official Android App: Forums for Android!

Apps image select or deselect in imageview..?

Discussion in 'Android Development' started by AsadAli1235, Feb 18, 2016.

  1. AsadAli1235

    AsadAli1235 Lurker
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    3
    Joined:
    Feb 18, 2016

    Feb 18, 2016
    3
    0
    15
    Male
    I have a horizontal scroll view inside which i have six image view and i am implementing on click on each image uptil things work fine.
    Furthermore i want "when user clicked image it is selected and background color changes and when user clicked again the image is deselected and background color is change again".

    I need something like this:
    [​IMG]
     

    Advertisement

  2. Dannydet

    Dannydet Extreme Android User
    Rank:
     #23
    Points:
    918
    Posts:
    5,256
    Joined:
    Jan 16, 2016

    Jan 16, 2016
    5,256
    3,405
    918
    Male
    Graphics Manager / Sales
    USA
    I think we have no answers to this "question"????
     
  3. AsadAli1235

    AsadAli1235 Lurker
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    3
    Joined:
    Feb 18, 2016

    Feb 18, 2016
    3
    0
    15
    Male
    Why?
     
  4. chanchan05

    chanchan05 The Doctor
    Rank:
    None
    Points:
    1,108
    Posts:
    15,208
    Joined:
    Jun 30, 2011

    I don't even understand. Where do you need it? Are you trying to make an app?
     
  5. AsadAli1235

    AsadAli1235 Lurker
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    3
    Joined:
    Feb 18, 2016

    Feb 18, 2016
    3
    0
    15
    Male
    yes
     
  6. scary alien

    scary alien not really so scary
    Moderator
    Rank:
     #9
    Points:
    2,138
    Posts:
    22,319
    Joined:
    Mar 5, 2010

    Mar 5, 2010
    22,319
    23,814
    2,138
    Male
    space alien ;)
    Indy
    How about I move the thread to our Application Development area? :)

    Welcome to our AndroidForums, @AsadAli1235 -- this area will have folks that should best be able to address your questions.

    Cheers!
     
    Slug likes this.

Share This Page

Loading...