<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/dragView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#eeeeee"
    android:clickable="true"
    android:focusable="false"
    android:orientation="vertical"
    android:visibility="gone">

    <LinearLayout
        android:id="@+id/new_small_card"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@drawable/small_card_bg"
        android:orientation="horizontal" >

        <ImageView
            android:id="@+id/place_color"
            android:layout_width="12dp"
            android:layout_height="fill_parent" />

        <RelativeLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:minHeight="@dimen/hidden_card_height"
            android:paddingBottom="8dp" >

            <ImageButton
                android:id="@+id/add_marker_icon"
                android:layout_width="48dp"
                android:layout_height="48dp"
                android:layout_alignParentTop="true"
                android:layout_marginRight="0dp"
                android:layout_marginTop="4dp"
                android:layout_alignParentRight="true"
                android:background="@android:color/transparent"
                android:contentDescription="Search"
                android:cropToPadding="true"
                android:padding="8dp"
                android:scaleType="fitXY"
                android:src="@drawable/lock_all_off" />

            <TextView
                android:id="@+id/place_name"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_alignParentTop="true"
                android:layout_toLeftOf="@id/add_marker_icon"
                android:ellipsize="end"
                android:fontFamily="sans_serif"
                android:maxLines="1"
                android:paddingLeft="8dp"
                android:paddingRight="8dp"
                android:paddingTop="8dp"
                android:textSize="@dimen/place_name_text_size" >
            </TextView>

            <TextView
                android:id="@+id/place_sub_head"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_below="@id/place_name"
                android:layout_toLeftOf="@id/add_marker_icon"
                android:fontFamily="sans_serif_light"
                android:paddingLeft="8dp"
                android:paddingRight="8dp"
                android:text=""
                android:textColor="@color/secondaryTextColor"
                android:textSize="@dimen/place_sub_head_text_size" />
        </RelativeLayout>
    </LinearLayout>

    <RelativeLayout
        android:id="@+id/new_expand_container"
        android:layout_width="match_parent"
        android:layout_height="fill_parent"
        android:background="@color/list_item_gray_even" >

        <com.mrane.navigation.EndDetectScrollView
            android:id="@+id/new_expanded_place_card_scroll"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_alignParentTop="true" >

            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent" >

                <LinearLayout
                    android:id="@+id/expanded_place_card"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:background="#e5e5e5"
                    android:orientation="horizontal" >
                </LinearLayout>

                <LinearLayout
                    android:id="@+id/other_details"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_alignParentLeft="true"
                    android:layout_alignParentTop="true"
                    android:orientation="vertical" >
                </LinearLayout>
            </RelativeLayout>
        </com.mrane.navigation.EndDetectScrollView>

        <RelativeLayout
            android:id="@+id/color_strip"
            android:layout_width="12dp"
            android:layout_height="match_parent"
            android:layout_alignParentLeft="true"
            android:layout_alignParentTop="true" >

            <View
                android:id="@+id/place_group_color"
                android:layout_width="12dp"
                android:layout_height="match_parent"
                android:layout_alignParentBottom="true"
                android:layout_alignParentLeft="true"
                android:layout_alignParentTop="true"
                android:layout_marginLeft="0dp"
                android:alpha="0.5"
                android:paddingLeft="0dp" />

            <View
                android:layout_width="12dp"
                android:layout_height="@dimen/expanded_card_height"
                android:layout_alignParentBottom="true"
                android:layout_alignParentLeft="true"
                android:layout_alignParentTop="true"
                android:layout_marginLeft="0dp"
                android:alpha="0.5"
                android:background="@color/transparent_black"
                android:paddingLeft="0dp" />
        </RelativeLayout>

        <View
            android:layout_width="match_parent"
            android:layout_height="8dp"
            android:layout_alignParentTop="true"
            android:background="@drawable/shadow_gradient" />
    </RelativeLayout>
</LinearLayout>