java - android button enlarging on click -


I have a program where I want to display two buttons with left and right arrows pointing both the images and me They have to put on the calculator type program. If I hit the right arrow, then I want the area where the calculation is done to increase, and the button to grow. I have 6 images: a small arrow (left and right), one medium (left and right), and a big (left and right) set. How do I create these buttons?

The link for the laboratory homework is here:

I really can not understand what image I am downloading, and how the click Change the image on

If you want to increase the size of the button image and click on the button to edit the text field size After doing this, simply replace the smaller images with the larger size of the image, like this

  button1.setOnClickListener (see the new. OnClickListener () {@Override Public Zero (see V. ) {// Todo Auto-Generated Method Stub Button 1. Setbackground Resource (R.drawable.buttonimg); edittext1.setBackgroundResource (R.drawable.edimg);}});   

here

There are images in the Buttonim and Edimag picture folders

Comments