<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
	xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:app="http://schemas.android.com/apk/res-auto"
	xmlns:tools="http://schemas.android.com/tools"
	android:layout_width="match_parent"
	android:layout_height="match_parent"
	tools:context="in.techware.lataxidriver.activity.OnTripActivity">
	
	<View
		android:layout_width="match_parent"
		android:layout_height="?actionBarSize"
		android:layout_gravity="top"
		android:background="@color/colorPrimary" />
	
	<include
		layout="@layout/fragment_map"
		android:layout_width="match_parent"
		android:layout_height="match_parent"
		android:layout_gravity="top"
		android:layout_marginTop="30dp" />
	
	<android.support.v7.widget.CardView
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:layout_gravity="top"
		android:layout_marginLeft="30dp"
		android:layout_marginRight="30dp">
		
		<LinearLayout
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:layout_gravity="center"
			android:gravity="center"
			android:orientation="vertical"
			android:padding="15dp">
			
			
			<in.techware.lataxidriver.widgets.CustomTextView
				android:id="@+id/txt_on_trip_destination"
				android:layout_width="match_parent"
				android:layout_height="wrap_content"
				android:layout_gravity="center"
				android:gravity="center"
				android:text="@string/sample_location"
				android:textColor="@color/text_3" />
			
			<LinearLayout
				android:layout_width="match_parent"
				android:layout_height="wrap_content"
				android:layout_marginTop="5dp"
				android:background="?selectableItemBackground"
				android:gravity="center"
				android:minHeight="35dp"
				android:onClick="onOnTripNavigateClick"
				android:orientation="horizontal">
				
				<ImageView
					android:layout_width="22dp"
					android:layout_height="22dp"
					android:scaleType="centerInside"
					android:tint="@color/colorPrimary"
					app:srcCompat="@drawable/ic_navigate" />
				
				<in.techware.lataxidriver.widgets.CustomTextView
					android:layout_width="wrap_content"
					android:layout_height="wrap_content"
					android:gravity="center"
					android:minHeight="30dp"
					android:paddingLeft="10dp"
					android:text="@string/btn_navigate"
					android:textAllCaps="true"
					android:textColor="@color/colorPrimary"
					android:textStyle="bold" />
			
			
			</LinearLayout>
		
		
		</LinearLayout>
	
	
	</android.support.v7.widget.CardView>
	
	<include
		layout="@layout/layout_on_trip_before_trip"
		android:visibility="gone" />
	
	<android.support.v7.widget.CardView
		android:id="@+id/card_on_trip_profile_photo"
		android:layout_width="70dp"
		android:layout_height="70dp"
		android:layout_marginLeft="40dp"
		android:onClick="onOnTripBottomSheetClick"
		android:src="@drawable/circle_white"
		app:cardBackgroundColor="@color/white"
		app:cardCornerRadius="35dp"
		app:cardElevation="4dp"
		app:layout_anchor="@+id/ll_bottom_sheet_on_trip"
		app:layout_anchorGravity="top|left">
		
		<ImageView
			android:id="@+id/iv_on_trip_profile_photo"
			android:layout_width="70dp"
			android:layout_height="70dp"
			android:background="@drawable/circle_carbon_transparent"
			android:onClick="onOnTripBottomSheetClick"
			android:src="@drawable/ic_profile_photo_default" />
	</android.support.v7.widget.CardView>
	
	
	<include layout="@layout/bottom_sheet_on_trip_drop_off" />


</android.support.design.widget.CoordinatorLayout>
