Off the cuff: <RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content" > <TextView android:id="@+id/count" android:layout_alignParentRight="true" android:layout_width="wrap_content" android:layout_height="wrap_content"/> <TextView android:id="@+id/name" android:layout_alignParentLeft="true" android:layout_toLeftOf="@id/count" android:layout_width="fill_parent" android:layout_height="wrap_content"/> </RelativeLayout>
On Fri, Aug 20, 2010 at 10:29 PM, elubin <[email protected]> wrote: > Can someone please provide me a ListView row layout that will show > text on the left (the full width of the screen) and just leave one > right aligned column for a count on the right? Everything I try has > the text overwrite the count column... > > http://www.elubin.com/images/Capture.jpg -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 Available! -- 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

