i think i don’t find the correct word for the title so i will try to explain correctly.
So i have this image for a backround of my Layout :
http://imageshack.us/photo/my-images/607/fond1g.png/
And i would like to the button fit in it correctly.
Because there are some transparancy on the left and on the right.
So the button are beyond the sheet.
Is there something for say “Hey this is transparency and i don’t want anything in it” ?
Or “Hey this is where (the sheet) i want to put everything ?
I tried to put another LinearLayout but i don’t know how to give the good width.
Thanks
If you are using a
LinearLayoutyou can set the background to your image. Then you can put anything inside theLinearLayoutand everything will fit correctly inside your image.For example:
Hope that helps.