Reputation: 1488
I am now having some problems when I want to create my application for android that when I am making my layout in XML i am having trouble that in Eclipse its not latting me place the buttons next to each other side to side it only let me place them under each other. And I did chech that fill parrent was not checked I used only wrap content, ut still it's not letting me place them side to side.
And I didn't find how i would fix this when i search on the web. But maybe here someone can explain what im doing wrong?
Upvotes: 0
Views: 984
Reputation:
You probably have an outer LinearLayout
with a vertical orientation (android:orientation="vertical"
in the XML source). That puts each child of it below the last one. Change this to horizontal
to align the buttons next to each other
or use a different parent layout.
Upvotes: 5