246 lines
8.7 KiB
XML
246 lines
8.7 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"
|
|
android:weightSum="1"
|
|
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/truck0"
|
|
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/live"
|
|
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="300dp"
|
|
android:layout_height="fill_parent"
|
|
android:id="@+id/layoutBig"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:id="@+id/liveVehicle"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:weightSum="0">
|
|
<include
|
|
layout="@layout/style_header_units"
|
|
android:id="@+id/id"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="1">
|
|
<GridView
|
|
android:layout_width="fill_parent"
|
|
android:id="@+id/gridVehicle"
|
|
android:numColumns="1"
|
|
android:horizontalSpacing="0dp"
|
|
android:verticalSpacing="1dp"
|
|
android:background="#494748"
|
|
android:drawSelectorOnTop="false"
|
|
android:listSelector="@layout/gridview_selector"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="3dp"
|
|
android:paddingTop="3dp"
|
|
android:paddingLeft="3dp"
|
|
android:paddingRight="3dp">
|
|
</GridView>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:layout_weight="0"
|
|
android:background="#ffffff"
|
|
android:gravity="center"
|
|
android:paddingTop="4dp"
|
|
android:visibility="gone">
|
|
<Button
|
|
android:id="@+id/buttonDisplay"
|
|
android:text="@string/displayAll"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_weight="0"
|
|
style="?login"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="20dp"
|
|
android:layout_height="fill_parent"
|
|
android:id="@+id/slidelayout"
|
|
android:layout_toRightOf="@id/layoutBig"
|
|
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:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:id="@+id/layoutGoogleMaps"
|
|
android:layout_weight="1">
|
|
</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/textViewChangeTraffic"
|
|
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> |