list_row.xml (1684B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="wrap_content" 4 android:layout_height="wrap_content"> 5 6 <TextView 7 android:layout_width="wrap_content" 8 android:layout_height="wrap_content" 9 android:textAppearance="?android:attr/textAppearanceLarge" 10 android:text="(Large Text)" 11 android:id="@+id/list_name" 12 android:layout_alignParentTop="true" 13 android:layout_alignParentLeft="true" 14 android:layout_alignParentStart="true" 15 android:maxLength="20" 16 android:longClickable="false" 17 android:nestedScrollingEnabled="false" 18 android:singleLine="false" /> 19 20 <TextView 21 android:layout_width="wrap_content" 22 android:layout_height="wrap_content" 23 android:textAppearance="?android:attr/textAppearanceLarge" 24 android:text="(3/9)" 25 android:id="@+id/list_completion" 26 android:layout_alignParentRight="true" 27 android:layout_alignBottom="@id/list_name" 28 android:layout_alignParentBottom="false" 29 android:layout_alignParentTop="true" /> 30 31 <TextView 32 android:layout_width="wrap_content" 33 android:layout_height="wrap_content" 34 android:textAppearance="?android:attr/textAppearanceSmall" 35 android:text="Friends: David, Greg, Kyle" 36 android:id="@+id/friends_list" 37 android:layout_alignParentTop="false" 38 android:layout_alignParentLeft="true" 39 android:layout_alignParentStart="false" 40 android:layout_alignParentBottom="true" 41 android:layout_below="@+id/list_name" /> 42 43 </RelativeLayout>