I would like to center or align an image within a button view. Currently, it appears the button view "stretches" any image to fill the entire button.
Is it possible to have an image occupy only a portion of the button.
i.e. Button is 100dip X 100dip
Image is 500 X 500, I would like the image to display at the top of the button at 50 X 50, occupying 1/4th the space within the button.
I've tried resizing the image, but when it is set as the background image, it re-stretches the resized image to fill the button.
Thanks,
Rusty
Is it possible to have an image occupy only a portion of the button.
i.e. Button is 100dip X 100dip
Image is 500 X 500, I would like the image to display at the top of the button at 50 X 50, occupying 1/4th the space within the button.
I've tried resizing the image, but when it is set as the background image, it re-stretches the resized image to fill the button.
Thanks,
Rusty