My TextView is not appearing right aligned?

Try to understand what's going on and, more important, give the code a try! You said you wanted to keep it in the same order... so what? Changing order of appearing in a RelativeLayout does not change the component's position.

In fact, there are so many case in which you have to put the elements of the XML file in a specific order in order to play with their ID, just how I did in this case.

EDIT: This is how it looks like: Dude, please, go beyond looking at the code. Try to understand what's going on and, more important, give the code a try! You said you wanted to keep it in the same order... so what?

Changing order of appearing in a RelativeLayout does not change the component's position. In fact, there are so many case in which you have to put the elements of the XML file in a specific order in order to play with their ID, just how I did in this case.

This messes up my UI. I want nameText | priceText | changeText to be next to each other, as they are, but would like priceText to be right-aligned. – Sheehan Alam Sep 29 '10 at 6:15 Updated.

Take a closer look, please ;) – Cristian Sep 29 '10 at 6:29 thanks for helping out. I did try out your XML - here is how it looks: cl. Ly/d1de362cb09952698d27 this layout is being loaded in a ListView if that makes a difference – Sheehan Alam Sep 29 '10 at 6:40 Weird... try to play with the with of the first TextView (setting it to fill_parent).

In fact, copy and paste again my code... it makes no sense what I saw in your screenshot. – Cristian Sep 29 '10 at 6:43 Good call. I cleaned the project and rebuilt it.

Now it appears fine. Thanks for the follow-thru @Cristian. – Sheehan Alam Sep 29 '10 at 7:02.

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