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

On Thursday, 1 March 2012 18:33:19 UTC-5, 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