-1
I have a problem in my Android project that I am not able to solve. I have a series of strings that are summed to form a larger string as the following example:
String teste1 = "O.P. Processo Célula";
String teste2 = "20350 A 005";
However, when displayed on screen the letter A and 005 are not under the words "Process" and "Cell". I even pasted this code into Skype to pass to a person and it didn’t come lined up either. Because this occurs?
@Alexandremarcondes, I decided to reformulate my question to better express my problem
– anovaesneto
@I transferred the answer to another, I only saw that it was duplicated when they started voting to close. ( http://answall.com/questions/2468/comoralinr-strings-para-utilizar-em-um-listview )
– Bacco
OK @Bacco I tried to delete this question but I couldn’t, so I marked it as duplicate and I voted to close it too
– anovaesneto
I don’t think this is a duplicate. The other question asks how to line up columns in one
ListView
, while this questions why aligning characters with columns does not result in aligned text. The other asks for the right way to do one thing, this asks why the wrong way is wrong.– Daniel C. Sobral
@Danielc.Sobral himself commented that he decided to reformulate to better express the problem. I believe that this question should be closed even though it is not technically a duplicate, and the author has done both to solve the same problem. This I took into consideration to score. The other best expresses his problem and solves.
– Alexandre Marcondes
@Alexandremarcondes I do not agree that it is the intention that is worth. The usefulness of Stack Overflow is that this question will be useful to other people, and even if the author is trying to solve a single problem, other people might wonder why character alignment doesn’t work without it being related to
ListView
.– Daniel C. Sobral
Well, if the question has clearer answers with code I even agree @Danielc.Sobral, but as it is seems much more superficial than the other and the two end up answering the same thing, even though they are different. Give an edited then to have something better then. Sincerely the way it is I don’t think it’s worth keeping.
– Alexandre Marcondes