Android XML - how to get items aligned far left, center, and far right?

I would recommend using RelativeLayout, it makes things a lot easier.

I would recommend using RelativeLayout, it makes things a lot easier. By using RelativeLayout you would be able to set the textview either center horizontal in parent or centerin parent after doing that you would be able to either attach those buttons directly to the far sides by aligning them to the parent sides or attaching them directly to the sides of the textview, add a little padding perhaps and poof youve got your spacing.

You need to use the weight property. Think of it as letting android know the percentage of width it should give each item. You need to set width to 0dip for all the 3 items and add the weight property Play around with the weight value and you will understand how it works :) After this you can use the gravity property to move text to center / left or right.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions