140 lines
5.4 KiB
XML
140 lines
5.4 KiB
XML
<?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.Home" tools:deviceIds="wear_square"
|
|
android:background="@color/black"
|
|
android:id="@+id/main_layout">
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:textAlignment="center">
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="147dp"
|
|
android:layout_height="wrap_content"
|
|
android:textAlignment="center"
|
|
android:paddingTop="15dp"
|
|
android:weightSum="1"
|
|
android:layout_gravity="center_horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/sgv"
|
|
android:textSize="50sp"
|
|
android:text="---"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="55dp"
|
|
android:textColor="#FFFFFF"
|
|
android:layout_gravity="bottom"
|
|
android:gravity="bottom|right" />
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:weightSum="1"
|
|
android:textAlignment="center"
|
|
android:baselineAligned="false"
|
|
android:layout_gravity="center_horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/direction"
|
|
android:textSize="27sp"
|
|
android:textStyle="bold"
|
|
android:text="--"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="#FFFFFF"
|
|
android:textAlignment="center"
|
|
android:layout_gravity="center_horizontal|bottom"
|
|
android:gravity="center_horizontal|bottom"
|
|
android:paddingTop="1dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/delta"
|
|
android:textSize="10sp"
|
|
android:text="--- mg/dl"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="#FFFFFF"
|
|
android:layout_gravity="bottom"
|
|
android:gravity="center_horizontal" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/light_grey"
|
|
android:id="@+id/secondary_layout"
|
|
android:padding="2dp">
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textAlignment="center"
|
|
android:layout_gravity="center_horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/timestamp"
|
|
android:textSize="12sp"
|
|
android:text="-- Minutes ago"
|
|
android:layout_width="wrap_content"
|
|
android:textAlignment="center"
|
|
android:textColor="#000000"
|
|
android:layout_height="wrap_content" />
|
|
<TextView
|
|
android:id="@+id/uploader_battery"
|
|
android:textSize="12sp"
|
|
android:text="Uploader: ---%"
|
|
android:layout_width="wrap_content"
|
|
android:textAlignment="center"
|
|
android:textColor="#000000"
|
|
android:paddingLeft="10sp"
|
|
android:layout_height="wrap_content" />
|
|
<TextView
|
|
android:id="@+id/raw"
|
|
android:textSize="12sp"
|
|
android:text=""
|
|
android:layout_width="wrap_content"
|
|
android:textAlignment="center"
|
|
android:textColor="#000000"
|
|
android:paddingLeft="10sp"
|
|
android:layout_height="wrap_content" />
|
|
<TextView
|
|
android:id="@+id/externaltstatus"
|
|
android:textSize="12sp"
|
|
android:text="S: no status"
|
|
android:layout_width="wrap_content"
|
|
android:textAlignment="center"
|
|
android:textColor="#000000"
|
|
android:paddingLeft="10sp"
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/watch_time"
|
|
android:textSize="55sp"
|
|
android:text="12:00"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true"
|
|
android:textColor="#FFFFFF"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textAlignment="center"
|
|
android:layout_gravity="center_horizontal|top" />
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|