I finally got the first part right. Just need to line up the headings. On Wednesday, September 18, 2013 2:29:33 PM UTC-4, Phil Gibbs wrote: > > I have a listview populated via a SimpleCursorAdapter backed by a > ContentProvider. > My final view contains a non-scrollable header (col hdgs), the ListView > and a footer with totals for some of the columns. > How can I ensure that (1) the data columns are all lined-up, preferably > left-justified, and (2) How to line these ListView columns with my column > headers? > I've tried a few combinations of layout properties, like layout_width, > weight and so on but cannot find a combination that > does what I need. This must be a very common requirement so I'm sure this > question has been asked before. > Each textview in the layout for the list looks like this. > <TextView > android:id="@+id/username" > android:layout_width="wrap_content" > android:layout_height="fill_parent" > android:textSize="12sp" > android:textColor="#FF7F3300" > android:padding="5dip" /> > > Thanks for any help. > > >
-- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

