one more thing i want to know,I am using five button in a view, I dont want to give the location for every button then how i will place these button vertically in the view
@AnshumanMishra, that seems like a whole new question to me. In your new question please try to be as verbose as you can, include code snippets and other things you have tried. Cheers.
@AnshumanMishra Please try to find the answer on Stack Overflow and Google first though. This is a pretty common and simple issue, it's almost certainly been asked before. Stack Overflow gets enough duplicate questions as is.