341 lines
13 KiB
XML
341 lines
13 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent" android:layout_height="fill_parent"
|
|
android:id="@+id/tab1Layout" android:orientation="horizontal"
|
|
style="?bg">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/relativeHeader"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true">
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="left"
|
|
android:layout_weight="0"
|
|
android:orientation="horizontal"
|
|
style="?header"
|
|
android:id="@+id/layoutHeader">
|
|
|
|
<ImageView
|
|
android:id="@+id/imageViewMsg"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:src="@drawable/calendar_48_red"
|
|
android:paddingLeft="0dp"
|
|
android:layout_margin="3dp"
|
|
android:layout_weight="0" />
|
|
<TextView
|
|
android:id="@+id/textView1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/history"
|
|
android:layout_marginLeft="5dp"
|
|
android:textStyle="bold"
|
|
android:paddingTop="7dp"
|
|
android:textColor="#FFFFFF"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_weight="0"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/imageViewSeparator"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:src="@drawable/separator_white"
|
|
android:layout_margin="2dp"
|
|
android:layout_weight="0"
|
|
android:visibility="invisible"
|
|
android:focusable="false" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageViewDown"
|
|
android:layout_width="20dp"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginBottom="2dp"
|
|
android:layout_marginTop="2dp"
|
|
android:focusable="false"
|
|
android:visibility="invisible"
|
|
android:src="@drawable/arrow_menu_down" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/imageButtonAdd2"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:scaleType="centerInside"
|
|
android:layout_marginRight="5dp"
|
|
android:paddingLeft="2dp"
|
|
android:visibility="invisible"
|
|
android:background="@layout/addmessage_selector"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/changeTraffic"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:padding="3dp"
|
|
android:layout_weight="0"
|
|
android:src="@drawable/traffic_off"
|
|
android:adjustViewBounds="true"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/changeMapType"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:padding="3dp"
|
|
android:layout_weight="0"
|
|
android:src="@drawable/satellite"
|
|
android:adjustViewBounds="true"/>
|
|
|
|
<TextView
|
|
android:id="@+id/textViewNew"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center_vertical"
|
|
android:text="New"
|
|
android:textStyle="bold"
|
|
android:paddingTop="7dp"
|
|
android:textColor="#FFFFFF"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_weight="0"
|
|
android:paddingRight="5dp"
|
|
android:visibility="gone"/>
|
|
<!-- android:background="@drawable/addmessage_selector" -->
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_below="@+id/relativeHeader">
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:weightSum="1">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="200dp"
|
|
android:layout_height="fill_parent"
|
|
android:id="@+id/layoutBig"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:id="@+id/liveVehicle"
|
|
android:background="#ffffff"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
android:id="@+id/LayoutSpinner"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical"
|
|
android:paddingTop="10dp"
|
|
android:gravity="top"
|
|
android:layout_weight="1">
|
|
<TextView
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/vehicle"
|
|
android:textSize="20dp"
|
|
android:paddingLeft="5dp"
|
|
android:textColor="#000000"
|
|
android:gravity="left"
|
|
android:id="@+id/labelVehicle"/>
|
|
|
|
<Spinner
|
|
android:id="@+id/spinnerVehicle"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:entries="@array/arrayLanguages"
|
|
android:gravity="center_horizontal"
|
|
android:prompt="@string/selUsername"/>
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/startDate"
|
|
android:textSize="22dp"
|
|
android:paddingLeft="5dp"
|
|
android:textColor="#000000"
|
|
android:gravity="left"
|
|
android:id="@+id/labelStartDate"
|
|
android:visibility="gone"/>
|
|
<LinearLayout
|
|
android:id="@+id/layoutStartPicker"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:layout_gravity="left"
|
|
android:gravity="right"
|
|
android:layout_marginLeft="2sp"
|
|
android:layout_marginRight="3sp"
|
|
android:orientation="horizontal"
|
|
android:background="@layout/style_spinner">
|
|
<ImageView
|
|
android:id="@+id/imageViewStartDate"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:src="@drawable/calendar_48" />
|
|
<TextView
|
|
android:id="@+id/textViewStartDate"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center"
|
|
android:text="10:41, 12.12.2011"
|
|
android:textSize="18sp"
|
|
android:paddingLeft="1dp"
|
|
android:textColor="#000000"/>
|
|
</LinearLayout>
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/endDate"
|
|
android:textSize="22dp"
|
|
android:paddingLeft="5dp"
|
|
android:textColor="#000000"
|
|
android:gravity="left"
|
|
android:id="@+id/labelEndDate"
|
|
android:visibility="gone"/>
|
|
<LinearLayout
|
|
android:id="@+id/layoutEndPicker"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:layout_gravity="left"
|
|
android:gravity="right"
|
|
android:layout_marginTop="3sp"
|
|
android:layout_marginLeft="2sp"
|
|
android:layout_marginRight="3sp"
|
|
android:orientation="horizontal"
|
|
android:background="@layout/style_spinner">
|
|
<ImageView
|
|
android:id="@+id/imageViewEndDate"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center_vertical"
|
|
android:src="@drawable/calendar_48_red" />
|
|
<TextView
|
|
android:id="@+id/textViewEndDate"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center"
|
|
android:text="10:00, 13.12.2011"
|
|
android:textSize="18sp"
|
|
android:paddingLeft="1dp"
|
|
android:textColor="#000000" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="bottom">
|
|
<TextView
|
|
android:id="@+id/textViewSearch"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="bottom"
|
|
android:text=""
|
|
android:textSize="16dp"
|
|
android:paddingLeft="5dp"
|
|
android:textColor="#000000"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:layout_weight="0"
|
|
style="?header"
|
|
android:gravity="center"
|
|
android:paddingTop="4dp">
|
|
|
|
<Button
|
|
android:id="@+id/buttonDisplay"
|
|
style="?login"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_weight="0"
|
|
android:text="@string/display" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="20dp"
|
|
android:layout_height="fill_parent"
|
|
android:id="@+id/slidelayout"
|
|
android:layout_toRightOf="@id/liveVehicle"
|
|
android:gravity="center_vertical"
|
|
android:orientation="vertical"
|
|
android:layout_weight="0">
|
|
<ImageView
|
|
android:id="@+id/slideLayoutImage"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center_horizontal"
|
|
android:src="@drawable/arrow_left"
|
|
android:layout_weight="1"
|
|
style="?sliders" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layoutGoogleMaps"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_toRightOf="@id/slidelayout"
|
|
android:layout_weight="1"
|
|
android:orientation="horizontal" >
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
<ImageView
|
|
android:id="@+id/changeMapType"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentTop="true"
|
|
android:padding="3dp"
|
|
android:src="@drawable/satellite"
|
|
android:visibility="gone"/>
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="30dp"
|
|
android:layout_margin="3dp"
|
|
android:layout_alignLeft="@+id/changeMapType"
|
|
android:layout_below="@+id/changeMapType"
|
|
android:background="#fff"
|
|
android:orientation="horizontal"
|
|
android:id="@+id/layoutTraffic"
|
|
android:visibility="gone">
|
|
<ImageView
|
|
android:id="@+id/checkTraffic"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:padding="1dp"
|
|
android:src="@drawable/checked"/>
|
|
<TextView
|
|
android:id="@+id/changeTraffic"
|
|
android:text="Traffic"
|
|
android:textSize="16dp"
|
|
android:textColor="#000"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center_vertical"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
</RelativeLayout> |