123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- <?xml version="1.0" encoding="utf-8"?>
- <!-- 列表item view -->
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:background="#FFFFFF"
- android:orientation="horizontal" >
- <ImageView
- android:id="@+id/icon"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_margin="10dp"
- android:src="@drawable/ic_launcher" />
- <LinearLayout
- android:id="@+id/linearlayout1"
- android:layout_width="wrap_content"
- android:layout_height="fill_parent"
- android:layout_toRightOf="@+id/icon"
- android:layout_toLeftOf="@+id/linearlayout2"
- android:orientation="vertical" >
- <TextView
- android:id="@+id/name"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:ellipsize="none"
- android:gravity="center_vertical"
- android:text="百度公寓地方送id金佛Iio大家佛就是都放假哦的积分愤怒的送in罚款决定能否拿到家咖啡"
- android:textColor="@color/contents_text"
- android:textSize="18dip" />
- <TextView
- android:id="@+id/addr"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:ellipsize="none"
- android:gravity="center_vertical"
- android:text="上地7街丰富的送if接哦id积极的佛I惊悚的"
- android:textColor="@color/contents_text"
- android:textSize="14dp"
- android:visibility="visible" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- <TextView
- android:id="@+id/toggle_text1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="出租类型:"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:textColor="@color/contents_text"
- android:textSize="14dp" />
- <TextView
- android:id="@+id/leaseType"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:textColor="@color/contents_text"
- android:textSize="14dp" />
- </LinearLayout>
- <TextView
- android:id="@+id/distance"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:gravity="center_vertical"
- android:text="距离300米"
- android:textColor="@color/contents_text"
- android:textSize="14dp" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/linearlayout2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:orientation="vertical"
- android:paddingLeft="10dp"
- android:paddingRight="10dp" >
- <TextView
- android:id="@+id/price"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:enabled="true"
- android:maxLines="2"
- android:text="300"
- android:textColor="@color/red"
- android:textSize="22dp" />
- <TextView
- android:id="@+id/TextView01"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:enabled="true"
- android:maxLines="2"
- android:text="元/晚"
- android:textColor="@color/red"
- android:textSize="22dp" />
- </LinearLayout>
- </RelativeLayout>
|