Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 
      3 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      4               android:orientation="horizontal"
      5               android:background="#fff"
      6               android:layout_width="fill_parent"
      7               android:id="@+id/topContainer"
      8               android:layout_height="wrap_content">
      9     <ImageView
     10             android:layout_width="wrap_content"
     11             android:layout_height="wrap_content"
     12             android:id="@+id/contact_arrow"
     13             android:src="@drawable/arrow_thumbnail"/>
     14     <ImageView
     15             android:layout_width="wrap_content"
     16             android:layout_height="wrap_content"
     17             android:id="@+id/contact_picture"/>
     18     <LinearLayout android:orientation="vertical"
     19                   android:layout_width="0dip"
     20                   android:id="@+id/itemContainer"
     21                   android:background="#ccc"
     22                   android:layout_weight="1"
     23                   android:layout_height="wrap_content">
     24         <TextView
     25                 android:layout_width="match_parent"
     26                 android:layout_height="wrap_content"
     27                 android:id="@+id/contact_name"/>
     28         <LinearLayout android:orientation="vertical"
     29                       android:visibility="gone"
     30                       android:id="@+id/expanded_info"
     31                       android:layout_width="wrap_content"
     32                       android:layout_height="wrap_content">
     33             <TextView
     34                     android:layout_width="match_parent"
     35                     android:layout_height="wrap_content"
     36                     android:id="@+id/contact_street"/>
     37             <TextView
     38                     android:layout_width="match_parent"
     39                     android:layout_height="wrap_content"
     40                     android:id="@+id/contact_city"/>
     41             <TextView
     42                     android:layout_width="match_parent"
     43                     android:layout_height="wrap_content"
     44                     android:id="@+id/contact_phone"/>
     45             <TextView
     46                     android:layout_width="match_parent"
     47                     android:layout_height="match_parent"
     48                     android:id="@+id/contact_email"/>
     49         </LinearLayout>
     50     </LinearLayout>
     51 </LinearLayout>