i have a relative layout and i have two buttons in it with texts \"hello\" and \"world\" respectively. i want these two buttons to lie adjacent to each other and equally occupy
I know that is a old request, but maybe it's can be useful for somebody.
In your case the right solution is using Linear Layout. But for reply your request and suppose that you have an other widget in your layout: