G grafsoft Well-Known Member Licensed User Longtime User Jan 16, 2016 #1 I create buttons and want to have graphics on them which I change while the app is running. I know how to do this with the designer (Drawable: Statelistdrawable and so forth) but when I create and show it with "addview" - how can I do this?
I create buttons and want to have graphics on them which I change while the app is running. I know how to do this with the designer (Drawable: Statelistdrawable and so forth) but when I create and show it with "addview" - how can I do this?
LucaMs Expert Licensed User Longtime User Jan 16, 2016 #2 https://www.b4x.com/android/forum/pages/results/?query=Statelistdrawable&page=1&prefix=0 Upvote 0
Gary Milne Active Member Licensed User Longtime User Jan 20, 2016 #3 grafsoft said: I create buttons and want to have graphics on them which I change while the app is running. I know how to do this with the designer (Drawable: Statelistdrawable and so forth) but when I create and show it with "addview" - how can I do this? Click to expand... If you are using the button to display state you may find this useful/interesting. https://www.b4x.com/android/forum/threads/smarthost-lesson-2-toggle-buttons-and-check-boxes.62427/ Upvote 0
grafsoft said: I create buttons and want to have graphics on them which I change while the app is running. I know how to do this with the designer (Drawable: Statelistdrawable and so forth) but when I create and show it with "addview" - how can I do this? Click to expand... If you are using the button to display state you may find this useful/interesting. https://www.b4x.com/android/forum/threads/smarthost-lesson-2-toggle-buttons-and-check-boxes.62427/