Question

I am trying to put buttons on my xml page which I can do, but not where I want them. When I put buttons on and then try and change the margins it gets the button their but then when I try to make them bigger or smaller it moves them again. I am wandering if there is a way where I can just drag and drop the button where i want it. I'm sorry if I didn't explain it very well. I could not really think of how to explain it well.

Thanks, Scott

Was it helpful?

Solution

Using a relative layout is the preferred method when creating just about any application. Position is "relative" so you never have to define actual measurements. Try playing around with that first.

http://developer.android.com/resources/tutorials/views/hello-relativelayout.html

OTHER TIPS

You can use droiddraw to drag button or other widget to draw UI

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top