rleiman Well-Known Member Licensed User Longtime User Aug 16, 2014 #1 I searched the library thread looking for a custom button view but couldn't find any libraries with them. Has anyone created alternative buttons to what Android gives? In particular I'm interested in finding a custom toggle button if anyone has done something like that. Thanks.
I searched the library thread looking for a custom button view but couldn't find any libraries with them. Has anyone created alternative buttons to what Android gives? In particular I'm interested in finding a custom toggle button if anyone has done something like that. Thanks.
jsanchezc Member Licensed User Longtime User Aug 16, 2014 #2 You can use imegaview instead button. Then you can assign any picture. Upvote 0
rleiman Well-Known Member Licensed User Longtime User Aug 16, 2014 #3 Thanks for the quick reply. I was looking for a toggle type button mostly so I don't need extra coding to keep track of the user clicking it one time and set a flag that the button was clicked once and when the user clicks it again. I think I would also have to have 2 images. Once for the when the button is on and one for when it is off. I think a toggle button would have all of that built in. I'm guessing because I need to learn more about toggle buttons. Upvote 0
Thanks for the quick reply. I was looking for a toggle type button mostly so I don't need extra coding to keep track of the user clicking it one time and set a flag that the button was clicked once and when the user clicks it again. I think I would also have to have 2 images. Once for the when the button is on and one for when it is off. I think a toggle button would have all of that built in. I'm guessing because I need to learn more about toggle buttons.
rleiman Well-Known Member Licensed User Longtime User Aug 16, 2014 #6 Thanks everyone. I will use StateListDrawable. Upvote 0