android button enlarging on click

un0wn

New Member
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.htmlI just dont really understand how to create a button off of an image I download, and how to make the image change on click.
 
Back
Top