233 lines
7.9 KiB
XML
233 lines
7.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/versionTv"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/app_name" />
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/statusLayout"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/serverStatusTv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:text="---" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="10dp"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:id="@+id/algsTv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Algorithms" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/osdAlgTv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="---" />
|
|
|
|
<TextView
|
|
android:id="@+id/cnnAlgTv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="---" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/hrAlgTv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="---" />
|
|
|
|
<TextView
|
|
android:id="@+id/o2AlgTv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="---" />
|
|
|
|
<!--<TextView
|
|
android:id="@+id/fallAlgTv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text=""
|
|
android:visibility="gone"/>
|
|
-->
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/serverIpTv"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.5"
|
|
android:gravity="center"
|
|
android:text="---" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/watchStatusLl"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.5"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/data_time_tv"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:text="---" />
|
|
|
|
<TextView
|
|
android:id="@+id/alarmTv"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:text="---"
|
|
android:textSize="32sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.5"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/pebbleTv"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="---" />
|
|
|
|
<TextView
|
|
android:id="@+id/fragment_watch_app_status_tv"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="---" />
|
|
|
|
<TextView
|
|
android:id="@+id/battTv"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:text="---" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/remoteDbTv"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="----" />
|
|
|
|
<TextView
|
|
android:id="@+id/powerTv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="---" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/powerProgressBar"
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="20dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/spectrumTv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="---" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/spectrumProgressBar"
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:indeterminate="false"
|
|
android:minHeight="20dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/pSeizureTv"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/seizure_probability" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/pSeizureProgressBar"
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:indeterminate="false"
|
|
android:minHeight="20dp" />
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:baselineAligned="false">
|
|
|
|
<Button
|
|
android:id="@+id/acceptAlarmButton"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/AcceptAlarmBtnTxt" />
|
|
|
|
<Button
|
|
android:id="@+id/cancelAudibleButton"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/CancelAudibleButtonTxt" />
|
|
|
|
<Button
|
|
android:id="@+id/manualAlarmButton"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:backgroundTint="#ff0000"
|
|
android:text="@string/ManualAlarmBtnTxt" />
|
|
</LinearLayout>
|
|
|
|
<com.github.mikephil.charting.charts.BarChart
|
|
android:id="@+id/chart1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
</LinearLayout>
|
|
|