Sanitize your inputs? http://xkcd.com/327/

On Friday, 2 March 2012 11:49:21 UTC-5, Mark Winchester wrote:
>
> I finally figured out what my problem was.  My data source was appending a 
> bunch of extra white space at the end of input names that it was giving 
> me.  So, even though I had my layouts set up like they were supposed to be 
> (I'm not absolutely sure the one that I posted would have worked, but I 
> feel reasonably confident), my junked up data was screwing up how it 
> looked.  There is a moral there, somewhere, I'm just not entirely sure what 
> it is.
>
> -Mark
>
> On Thursday, March 1, 2012 5:33:19 PM UTC-6, Mark Winchester wrote:
>>
>> I've got a GUI coded up, and it works pretty well, but I'm having an 
>> issue getting everything formatted just right.  Currently, there exists a 
>> ListView on the page.  This list view is then filled with horizontal 
>> LinearLayouts that have a TextView (label) a either an EditText or Spinner, 
>> depending on the type of input.  When I populate the list, I'm setting the 
>> visibility of the unused control to GONE, so that only the correct control 
>> appears on the screen.  What I'm having trouble with, is that I'd like for 
>> the left edge of the text/spinners to be lined up, down the list, and the 
>> labels to appear "right justified" next to them.  I can get the 
>> text/spinners lined up correctly by setting the width of the TextView, but 
>> the text on the TextView doesn't bump up against the input controls, like I 
>> want it to.  Can anybody suggest a way to get this looking like I'm 
>> wanting?  Any help is appreciated.
>>
>> This is kindof like what I'm looking for:
>>       Input 1: __________
>> Another Input: __________
>>   Input Three: __________
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to