You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tasks/facebook/examples/Hackbook/res/layout/place_item.xml

25 lines
1004 B
XML

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:padding="6dip"
android:layout_height="?android:attr/listPreferredItemHeight"
android:id="@+id/friend_item">
<TextView
android:id="@+id/place_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:layout_alignWithParentIfMissing="true"
android:gravity="center_vertical" />
<TextView
android:id="@+id/place_location"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/place_name"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_alignWithParentIfMissing="true"
android:singleLine="true"
android:ellipsize="marquee" />
</RelativeLayout>