Hi there,

I have a GUI question and hope someone can help me out.

I am trying to make a GUI where I have 3 buttons ( start, about,
exit). What I need is to have a background behind these buttons. For
instance Xgalaga game for android. When you start the game there are 3
buttons and behind them is a background.

in my layout I have a main.xml that has ( LinearLayout, and 3
buttons). I tried to add (@drawable/mybackgorundimage) to background
section of LinearLayout (). Well it works but the image is stretched
out and I know this is not a right way.

Some Extra Questions that came to my mind also:

How many ways are possible to this?

What if the background is an animation?

What is the most efficient way to do this?


I would appreciate if someone provide me with a sample code.


Thanks,




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to