1. Check out our companion app, Forums for Android! Download from Google Play

Set a background based on user input

Discussion in 'Application Development' started by Tollas, May 7, 2010.

  1. Tollas

    Tollas Member
    Thread Starter

    May 6, 2010
    I've searched high and low for a way to do this, but have come up with nothing.

    I want to have a button on my main screen (button1).
    When button1 is pressed, it takes me to a 2nd screen with multiple buttons.
    When a user presses a button on that screen, it goes back to the main screen and changes that button to the same image as the button they pressed.


    Screen 1
    -Button1 (set as image_1 - dynamic)

    Screen 2
    -Button2 (set as image_1 - static)
    -Button3 (set as image_2 - static)

    If Button3 is pressed, Button1 will now be set as image_2.


Share This Page