Vinians2006 Active Member Licensed User Longtime User Oct 14, 2014 #1 Hi friends! Is possible to change the bitmap assigned to a button in code? I need to change it because Im creating a translated version of that button... So in a XML file I put the png file name to use with that language but I dont know how to set it in runtime?
Hi friends! Is possible to change the bitmap assigned to a button in code? I need to change it because Im creating a translated version of that button... So in a XML file I put the png file name to use with that language but I dont know how to set it in runtime?
Erel B4X founder Staff member Licensed User Longtime User Oct 14, 2014 #2 It is possible. Search for StateListDrawable. Upvote 0