83 lines
2.8 KiB
XML
83 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:padding="10dp"
|
|
tools:context=".MainActivity">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/alarmHistoryListRecyclerView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="3"
|
|
tools:listitem="@layout/alarm_history_item">
|
|
</androidx.recyclerview.widget.RecyclerView>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/deviceListRecyclerView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="3"
|
|
tools:listitem="@layout/device_item">
|
|
</androidx.recyclerview.widget.RecyclerView>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:layout_weight="3">
|
|
|
|
<Button
|
|
android:id="@+id/audiodetectionButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Audiodetection">
|
|
</Button>
|
|
|
|
<Button
|
|
android:id="@+id/videodetectionButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Videodetection">
|
|
</Button>
|
|
|
|
<Button
|
|
android:id="@+id/accelerometerButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Accelerometer">
|
|
</Button>
|
|
|
|
<Button
|
|
android:id="@+id/audiodetectionAndAccelerometerButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Audiodetection + Accelerometer">
|
|
</Button>
|
|
|
|
<Button
|
|
android:id="@+id/videodetectionAndAccelerometerButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Videodetection + Accelerometer">
|
|
</Button>
|
|
|
|
<Button
|
|
android:id="@+id/connectionButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="Connect to Devices">
|
|
</Button>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |