• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help with Dynamic Scene Buttons

I've created a scene of a pop-up menu with some buttons. I would like the buttons to change when pressed. For example one of the buttons toggles my pattern lock. I would like the image/icon/button to represent its current status. It's an unlocked pad lock if it's off and a locked pad lock if enabled. The button itself works and I have a variable that keeps track of if it's enabled or not. I can't seem to find any info on how to make the button change.
 
You can set the image to a variable instead of a file path by clicking those 2 curvy arrows (looks like the 'shuffle' button sort of). Set the variable to the file path of whichever picture depending on if it's enabled or not.
 
I came across something like this in my Google search but thought it was for an older version. I can't see any way to select anything other than an image, icon, ie something directly. It's the same whether I do buttons or images.

tu9edu8e.jpg


Am I adding the wrong element?
 
Back
Top Bottom