V4.1.0e - Upgraded cnn to V0.06. Tidied up main menu a bit. Added active algorithm display to main activiy. Pulled all of the algorithm activiation checkboxes to the top of the seizure detection settings so they are easier to find.

This commit is contained in:
Graham Jones
2022-09-25 20:20:17 +01:00
parent e56284c79d
commit 726369c308
10 changed files with 169 additions and 19 deletions

View File

@@ -6,23 +6,85 @@
<TextView
android:id="@+id/versionTv"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Android OpenSeizureDetector Version x.xx" />
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/statusLayout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
<!--<TextView
android:id="@+id/serverStatusTv"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.5"
android:gravity="center"
android:text="textView1" />
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
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 xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="10dp"
android:orientation="vertical">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
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 xmlns:android="http://schemas.android.com/apk/res/android"
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="---" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<TextView
android:id="@+id/serverIpTv"
@@ -34,6 +96,7 @@
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/watchStatusLl"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">