2017-11-19 22:14:28 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" tools:context=".watchfaces.Cockpit" tools:deviceIds="wear_round"
|
|
|
|
android:id="@+id/main_layout"
|
|
|
|
android:background="@drawable/airplane_cockpit_outside_clouds">
|
|
|
|
|
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/inside"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:background="@drawable/airplane_cockpit"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:weightSum="1">
|
|
|
|
|
2017-11-19 22:14:28 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="fill_parent"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:layout_height="0px"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:orientation="vertical"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:layout_weight="0.095">
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/windows"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_weight="0.2575">
|
2017-11-19 22:14:28 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
2017-11-22 22:46:43 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:weightSum="1">
|
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_weight="0.47" />
|
|
|
|
|
2017-11-19 22:14:28 +01:00
|
|
|
<LinearLayout
|
2017-11-22 22:46:43 +01:00
|
|
|
android:id="@+id/warnings"
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="0.06"
|
|
|
|
android:baselineAligned="false"
|
|
|
|
android:orientation="vertical">
|
2017-11-19 22:14:28 +01:00
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_weight="0.2" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/highLight"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="@drawable/airplane_led_grey_unlit"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="H"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:textAlignment="center"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:textColor="@color/primary_text_dark"
|
|
|
|
android:textSize="8sp"
|
|
|
|
android:textStyle="bold" />
|
2017-11-19 22:14:28 +01:00
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_weight="2" />
|
2017-11-19 22:14:28 +01:00
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/lowLight"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:background="@drawable/airplane_led_grey_unlit"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="L"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="@color/primary_text_dark"
|
|
|
|
android:textSize="8sp"
|
|
|
|
android:textStyle="bold" />
|
2017-11-19 22:14:28 +01:00
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_weight="0.2" />
|
2017-11-19 22:14:28 +01:00
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
</LinearLayout>
|
2017-11-19 22:14:28 +01:00
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_weight="0.47" />
|
2017-11-19 22:14:28 +01:00
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
</LinearLayout>
|
2017-11-19 22:14:28 +01:00
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
</LinearLayout>
|
2017-11-19 22:14:28 +01:00
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/dashboard"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_weight="0.0775">
|
2017-11-19 22:14:28 +01:00
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/instruments"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_weight="0.57"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:weightSum="1">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="0.08"
|
|
|
|
android:baselineAligned="false"
|
|
|
|
android:orientation="horizontal">
|
2017-11-19 22:14:28 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
2017-11-22 22:46:43 +01:00
|
|
|
android:id="@+id/panel1"
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="0.275"
|
|
|
|
android:baselineAligned="false"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:gravity="center"
|
|
|
|
android:textAlignment="center">
|
2017-11-19 22:14:28 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
2017-11-22 22:46:43 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:weightSum="1">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_weight="0.07" />
|
2017-11-19 22:14:28 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
2017-11-22 22:46:43 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_weight="0.5"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:orientation="vertical"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:weightSum="1">
|
2017-11-19 22:14:28 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/sgv"
|
|
|
|
android:layout_width="wrap_content"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="1"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:text="---"
|
|
|
|
android:textColor="@color/primary_text_dark"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:textSize="34sp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_weight="0.03" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_weight="0.276"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:weightSum="1">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="0.35" />
|
2017-11-19 22:14:28 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/timestamp"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="0.65"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:text="--'"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:gravity="center"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="@color/primary_text_dark"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="0.0225"
|
|
|
|
android:baselineAligned="false"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/panel2"
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="0.245"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:weightSum="1.01">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_weight="0.020" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/watch_time"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="0.19"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="12:00"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="@color/primary_text_dark"
|
|
|
|
android:textSize="18sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tmpBasal"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
|
|
android:layout_weight="0.19"
|
|
|
|
android:gravity="bottom|center_horizontal"
|
|
|
|
android:text="-.--U/h"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="@color/primary_text_dark"
|
|
|
|
android:textSize="13sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/iobView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
|
|
android:layout_weight="0.18"
|
|
|
|
android:gravity="bottom|center_horizontal"
|
|
|
|
android:text="--U"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="@color/primary_text_dark"
|
|
|
|
android:textSize="13sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/cobView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
|
|
android:layout_weight="0.185"
|
|
|
|
android:gravity="bottom|center_horizontal"
|
|
|
|
android:text="--g"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
android:textSize="13sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
2017-11-19 22:14:28 +01:00
|
|
|
<LinearLayout
|
2017-11-22 22:46:43 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="0.185"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:textAlignment="center">
|
|
|
|
|
|
|
|
<TextView
|
2017-11-22 22:46:43 +01:00
|
|
|
android:id="@+id/uploader_battery"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:layout_width="wrap_content"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
|
|
android:gravity="bottom|center_horizontal"
|
|
|
|
android:text="--%"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="@color/primary_text_dark"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:textSize="13sp"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<TextView
|
2017-11-22 22:46:43 +01:00
|
|
|
android:id="@+id/rig_battery"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:layout_width="wrap_content"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
|
|
android:gravity="bottom|center_horizontal"
|
|
|
|
android:paddingLeft="4dp"
|
|
|
|
android:text="--%"
|
|
|
|
android:textAlignment="center"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:textColor="@color/primary_text_dark"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:textSize="13sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:visibility="gone" />
|
2017-11-19 22:14:28 +01:00
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
</LinearLayout>
|
2017-11-19 22:14:28 +01:00
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_weight="0.06" />
|
2017-11-19 22:14:28 +01:00
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="0.0225"
|
|
|
|
android:baselineAligned="false"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/panel3"
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="0.275"
|
|
|
|
android:baselineAligned="false"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:textAlignment="center">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:weightSum="1">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_weight="0.07" />
|
2017-11-19 22:14:28 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
2017-11-22 22:46:43 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:gravity="center"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:orientation="vertical"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:weightSum="0.5">
|
2017-11-19 22:14:28 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/direction"
|
|
|
|
android:layout_width="match_parent"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="0.333"
|
|
|
|
android:gravity="center"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:text="--"
|
|
|
|
android:textAlignment="center"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:textColor="@color/primary_text_dark"
|
|
|
|
android:textSize="28sp"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/delta"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="0.167"
|
|
|
|
android:gravity="center"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:text="delta"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="@color/primary_text_dark"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:textSize="13sp"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:textStyle="bold" />
|
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_weight="0.03" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0px"
|
|
|
|
android:layout_weight="0.250"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:weightSum="1">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="0.1" />
|
|
|
|
|
2017-11-19 22:14:28 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/loop"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="match_parent"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:layout_gravity="start"
|
2017-11-22 22:46:43 +01:00
|
|
|
android:layout_weight="0.5"
|
2017-11-19 22:14:28 +01:00
|
|
|
android:background="@drawable/loop_grey_25"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="--'"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="@color/primary_text_dark"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/AAPSv2"
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="0.4"
|
|
|
|
android:visibility="invisible"/>
|
|
|
|
|
2017-11-19 22:14:28 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0px"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="0.08"
|
|
|
|
android:baselineAligned="false"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-11-19 22:14:28 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2017-11-22 22:46:43 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
2017-11-19 22:14:28 +01:00
|
|
|
</RelativeLayout>
|