I am fairly new to programming anything for Android so I am not 100% sure if I'm doing this correctly or just simply missing something.What I am trying to do is add a .png to a button as a background, I assumed I could put the .png in the same folder as the main python file and change:android:background="#ff66a3d2" to android:background="@<image>.png"To my dismay it seems my logic is missing something crucial with this, and due to my lack of experience with attempting an interface using xml, and especially xml on Android through sl4a/Python for Android.
As an example take a look @ the code here... http://code.google.com/p/python-for-android/source/browse/sl4atools/fullscreenwrapper2/examples/calcount2_example.zip
It loads a new layout for taking user input on clicking a button in the main screen and then goes back once input is complete.
Hmmm I don't know if actiondone event is captured in sl4a code currently... so you may not see it.
In this case you could simply add a separate click handler to your done button.