I have a program where I want to display 2 buttons that are arrows pointing left and right. Both are images and I am required to have them on my calculator type program. If I hit the right arrow, I want the field where there is a calculation involved to increase, and the button to get bigger. I have 6 images: a small arrow (left and right), a medium (left and right), and a large (left and right) set. how would I go about creating these buttons?
the link to the lab homework is here:
http://penguin.ewu.edu/cscd439/android/Summer_12/cscd439_l2.html
I just dont really understand how to create a button off of an image I download, and how to make the image change on click.
If you want to increase the button image size and edit text field size on button click then simply replace the smaller images with the images of bigger size you want ,
like this
here
buttonimg and edimg are images in drawable folder