adapted Layout Activitys
This commit is contained in:
parent
60bf036b40
commit
efb6dc9787
@ -29,7 +29,8 @@ public class AccelerometerActivity extends AppCompatActivity implements SensorEv
|
|||||||
private Sensor accelerometerSensor;
|
private Sensor accelerometerSensor;
|
||||||
private TextView accelerometerStatusMessage;
|
private TextView accelerometerStatusMessage;
|
||||||
private TextView accelerometerDataTV;
|
private TextView accelerometerDataTV;
|
||||||
private TextView accelerometerWarningTV;
|
private TextView tvAccelerometerdeviceListRecyclerView;
|
||||||
|
private TextView tvAccelerometeralarmHistoryListRecyclerView;
|
||||||
private Button backToMainActivityButton;
|
private Button backToMainActivityButton;
|
||||||
private AccelerometerViewModel mAccelerometerViewModel;
|
private AccelerometerViewModel mAccelerometerViewModel;
|
||||||
private Permission permission = new Permission();
|
private Permission permission = new Permission();
|
||||||
@ -41,7 +42,8 @@ public class AccelerometerActivity extends AppCompatActivity implements SensorEv
|
|||||||
|
|
||||||
accelerometerStatusMessage = (TextView) findViewById(R.id.tvAccelerometerStatusmessage);
|
accelerometerStatusMessage = (TextView) findViewById(R.id.tvAccelerometerStatusmessage);
|
||||||
accelerometerDataTV = (TextView) findViewById(R.id.tvAccelerometerData);
|
accelerometerDataTV = (TextView) findViewById(R.id.tvAccelerometerData);
|
||||||
accelerometerWarningTV = (TextView) findViewById(R.id.tvAccelerometerWarning);
|
tvAccelerometerdeviceListRecyclerView = (TextView) findViewById(R.id.tvAccelerometerdeviceListRecyclerView);
|
||||||
|
tvAccelerometeralarmHistoryListRecyclerView = (TextView) findViewById(R.id.tvAccelerometeralarmHistoryListRecyclerView);
|
||||||
backToMainActivityButton = (Button) findViewById(R.id.accelerometerBackToMainActivity);
|
backToMainActivityButton = (Button) findViewById(R.id.accelerometerBackToMainActivity);
|
||||||
|
|
||||||
RecyclerView recyclerView = findViewById(R.id.deviceListRecyclerView);
|
RecyclerView recyclerView = findViewById(R.id.deviceListRecyclerView);
|
||||||
|
@ -23,6 +23,8 @@ import java.util.List;
|
|||||||
|
|
||||||
public class AudiodetectionActivity extends AppCompatActivity {
|
public class AudiodetectionActivity extends AppCompatActivity {
|
||||||
private TextView microfonStatusMessage;
|
private TextView microfonStatusMessage;
|
||||||
|
private TextView tvAAudiodetectionAlarmHistoryListRecyclerView;
|
||||||
|
private TextView tvAudiodetectionDeviceListRecyclerView;
|
||||||
private Button backToMainActivityButton;
|
private Button backToMainActivityButton;
|
||||||
private Permission permission = new Permission();
|
private Permission permission = new Permission();
|
||||||
private MicrofonViewModel mMicrofonViewModel;
|
private MicrofonViewModel mMicrofonViewModel;
|
||||||
@ -33,6 +35,8 @@ public class AudiodetectionActivity extends AppCompatActivity {
|
|||||||
setContentView(R.layout.activity_audiodetection);
|
setContentView(R.layout.activity_audiodetection);
|
||||||
|
|
||||||
microfonStatusMessage = (TextView) findViewById(R.id.tvAudiodetectionStatusmessage);
|
microfonStatusMessage = (TextView) findViewById(R.id.tvAudiodetectionStatusmessage);
|
||||||
|
tvAAudiodetectionAlarmHistoryListRecyclerView = (TextView) findViewById(R.id.tvAudiodetectionAlarmHistoryListRecyclerView);
|
||||||
|
tvAudiodetectionDeviceListRecyclerView = (TextView) findViewById(R.id.tvAudiodetectionDeviceListRecyclerView);
|
||||||
backToMainActivityButton = (Button) findViewById(R.id.audiodetectorBackToMainActivity);
|
backToMainActivityButton = (Button) findViewById(R.id.audiodetectorBackToMainActivity);
|
||||||
|
|
||||||
RecyclerView recyclerView = findViewById(R.id.deviceListRecyclerView);
|
RecyclerView recyclerView = findViewById(R.id.deviceListRecyclerView);
|
||||||
|
@ -28,6 +28,8 @@ public class AudiodetectionAndAccelerometerActivity extends AppCompatActivity im
|
|||||||
private SensorManager accelerometerManager;
|
private SensorManager accelerometerManager;
|
||||||
private Sensor accelerometerSensor;
|
private Sensor accelerometerSensor;
|
||||||
private TextView audiodetectionAndAccelerometerStatusMessage;
|
private TextView audiodetectionAndAccelerometerStatusMessage;
|
||||||
|
private TextView tvAudiodetectionAndAccelerometerDeviceListRecyclerView;
|
||||||
|
private TextView tvAudiodetectionAndAccelerometerAlarmHistoryListRecyclerView;
|
||||||
private AudiodetectionAndAccelerometerViewModel mAudiodetectionAndAccelerometerViewModel;
|
private AudiodetectionAndAccelerometerViewModel mAudiodetectionAndAccelerometerViewModel;
|
||||||
private Button backToMainActivity;
|
private Button backToMainActivity;
|
||||||
|
|
||||||
@ -39,6 +41,8 @@ public class AudiodetectionAndAccelerometerActivity extends AppCompatActivity im
|
|||||||
setContentView(R.layout.activity_audiodetection_and_accelerometer);
|
setContentView(R.layout.activity_audiodetection_and_accelerometer);
|
||||||
|
|
||||||
audiodetectionAndAccelerometerStatusMessage = (TextView) findViewById(R.id.tvAudiodetectionAndAccelerometerStatusmessage);
|
audiodetectionAndAccelerometerStatusMessage = (TextView) findViewById(R.id.tvAudiodetectionAndAccelerometerStatusmessage);
|
||||||
|
tvAudiodetectionAndAccelerometerDeviceListRecyclerView = (TextView) findViewById(R.id.tvAudiodetectionAndAccelerometerDeviceListRecyclerView);
|
||||||
|
tvAudiodetectionAndAccelerometerAlarmHistoryListRecyclerView = (TextView) findViewById(R.id.tvAudiodetectionAndAccelerometerAlarmHistoryListRecyclerView);
|
||||||
backToMainActivity = (Button) findViewById(R.id.audiodetectionAndAccelerometerBackToMainActivity);
|
backToMainActivity = (Button) findViewById(R.id.audiodetectionAndAccelerometerBackToMainActivity);
|
||||||
|
|
||||||
RecyclerView recyclerView = findViewById(R.id.deviceListRecyclerView);
|
RecyclerView recyclerView = findViewById(R.id.deviceListRecyclerView);
|
||||||
|
@ -30,6 +30,9 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
private Button accelerometerButton;
|
private Button accelerometerButton;
|
||||||
private Button audiodetectionAndAccelerometerButton;
|
private Button audiodetectionAndAccelerometerButton;
|
||||||
private Button videodetectionAndAccelerometerButton;
|
private Button videodetectionAndAccelerometerButton;
|
||||||
|
private TextView tvMainActivityDeviceListRecyclerView;
|
||||||
|
private TextView tvMainActivityAlarmHistoryListRecyclerView;
|
||||||
|
private SurfaceView surfaceView;
|
||||||
private MainActivityViewModel mMainActivityViewModel;
|
private MainActivityViewModel mMainActivityViewModel;
|
||||||
private Permission permission = new Permission();
|
private Permission permission = new Permission();
|
||||||
|
|
||||||
@ -44,6 +47,9 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
activity = MainActivity.this;
|
activity = MainActivity.this;
|
||||||
context = MainActivity.this;
|
context = MainActivity.this;
|
||||||
|
|
||||||
|
surfaceView = (SurfaceView) findViewById(R.id.surfaceViewMainActivity);
|
||||||
|
tvMainActivityDeviceListRecyclerView = (TextView) findViewById(R.id.tvMainActivityDeviceListRecyclerView);
|
||||||
|
tvMainActivityAlarmHistoryListRecyclerView = (TextView) findViewById(R.id.tvMainActivityAlarmHistoryListRecyclerView);
|
||||||
audiodetectionButton = (Button) findViewById(R.id.audiodetectionButton);
|
audiodetectionButton = (Button) findViewById(R.id.audiodetectionButton);
|
||||||
videodetectionButton = (Button) findViewById(R.id.videodetectionButton);
|
videodetectionButton = (Button) findViewById(R.id.videodetectionButton);
|
||||||
accelerometerButton = (Button) findViewById(R.id.accelerometerButton);
|
accelerometerButton = (Button) findViewById(R.id.accelerometerButton);
|
||||||
|
@ -26,6 +26,9 @@ import java.util.concurrent.ExecutionException;
|
|||||||
public class VideodetectionActivity extends AppCompatActivity {
|
public class VideodetectionActivity extends AppCompatActivity {
|
||||||
|
|
||||||
private Button backToMainActivity;
|
private Button backToMainActivity;
|
||||||
|
private SurfaceView surfaceView;
|
||||||
|
private TextView tvVideodetectionDeviceListRecyclerView;
|
||||||
|
private TextView tvVideodetectionAlarmHistoryListRecyclerView;
|
||||||
private VideodetectionViewModel mVideoDetectionViewModel;
|
private VideodetectionViewModel mVideoDetectionViewModel;
|
||||||
private Permission permission = new Permission();
|
private Permission permission = new Permission();
|
||||||
|
|
||||||
@ -34,6 +37,9 @@ public class VideodetectionActivity extends AppCompatActivity {
|
|||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
setContentView(R.layout.activity_videodetection);
|
setContentView(R.layout.activity_videodetection);
|
||||||
|
|
||||||
|
surfaceView = (SurfaceView) findViewById(R.id.surfaceViewVideodetection);
|
||||||
|
tvVideodetectionDeviceListRecyclerView = (TextView) findViewById(R.id.tvVideodetectionDeviceListRecyclerView);
|
||||||
|
tvVideodetectionAlarmHistoryListRecyclerView = (TextView) findViewById(R.id.tvVideodetectionAlarmHistoryListRecyclerView);
|
||||||
backToMainActivity = (Button) findViewById(R.id.videodetectorBackToMainActivity);
|
backToMainActivity = (Button) findViewById(R.id.videodetectorBackToMainActivity);
|
||||||
|
|
||||||
RecyclerView recyclerView = findViewById(R.id.deviceListRecyclerView);
|
RecyclerView recyclerView = findViewById(R.id.deviceListRecyclerView);
|
||||||
|
@ -34,7 +34,8 @@ public class VideodetectionAndAccelerometerActivity extends AppCompatActivity im
|
|||||||
private Sensor accelerometerSensor;
|
private Sensor accelerometerSensor;
|
||||||
private TextView videodetectionAndAccelerometerStatusMessage;
|
private TextView videodetectionAndAccelerometerStatusMessage;
|
||||||
private TextView videodetectionAndAccelerometerDataTV;
|
private TextView videodetectionAndAccelerometerDataTV;
|
||||||
private TextView videodetectionAndAccelerometerWarningTV;
|
private TextView tvVideodetectionAndAccelerometerDeviceListRecyclerView;
|
||||||
|
private TextView tvVideodetectionAndAccelerometerAlarmHistoryListRecyclerView;
|
||||||
private Button backToMainActivity;
|
private Button backToMainActivity;
|
||||||
private VideodetectionAndAccelerometerViewModel mVideodetectionAndAccelerometerViewModel;
|
private VideodetectionAndAccelerometerViewModel mVideodetectionAndAccelerometerViewModel;
|
||||||
private Permission permission = new Permission();
|
private Permission permission = new Permission();
|
||||||
@ -46,7 +47,8 @@ public class VideodetectionAndAccelerometerActivity extends AppCompatActivity im
|
|||||||
|
|
||||||
videodetectionAndAccelerometerStatusMessage = (TextView) findViewById(R.id.tvvideodetectionAndAccelerometerStatusmessage);
|
videodetectionAndAccelerometerStatusMessage = (TextView) findViewById(R.id.tvvideodetectionAndAccelerometerStatusmessage);
|
||||||
videodetectionAndAccelerometerDataTV = (TextView) findViewById(R.id.tvvideodetectionAndAccelerometerData);
|
videodetectionAndAccelerometerDataTV = (TextView) findViewById(R.id.tvvideodetectionAndAccelerometerData);
|
||||||
videodetectionAndAccelerometerWarningTV = (TextView) findViewById(R.id.tvvideodetectionAndAccelerometerWarning);
|
tvVideodetectionAndAccelerometerDeviceListRecyclerView = (TextView) findViewById(R.id.tvVideodetectionAndAccelerometerDeviceListRecyclerView);
|
||||||
|
tvVideodetectionAndAccelerometerAlarmHistoryListRecyclerView = (TextView) findViewById(R.id.tvVideodetectionAndAccelerometerAlarmHistoryListRecyclerView);
|
||||||
backToMainActivity = (Button) findViewById(R.id.videodetectionAndAccelerometerBackToMainActivity);
|
backToMainActivity = (Button) findViewById(R.id.videodetectionAndAccelerometerBackToMainActivity);
|
||||||
|
|
||||||
RecyclerView recyclerView = findViewById(R.id.deviceListRecyclerView);
|
RecyclerView recyclerView = findViewById(R.id.deviceListRecyclerView);
|
||||||
|
@ -8,11 +8,19 @@
|
|||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
tools:context=".AccelerometerActivity">
|
tools:context=".AccelerometerActivity">
|
||||||
|
|
||||||
|
<SurfaceView
|
||||||
|
android:id="@+id/surfaceViewAccelerometer"
|
||||||
|
android:layout_width="1dp"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:visibility="visible">
|
||||||
|
</SurfaceView>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvAccelerometerStatusmessage"
|
android:id="@+id/tvAccelerometerStatusmessage"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="">
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
|
android:text="Accelerometer Activity">
|
||||||
</TextView>
|
</TextView>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -22,13 +30,6 @@
|
|||||||
android:text="">
|
android:text="">
|
||||||
</TextView>
|
</TextView>
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvAccelerometerWarning"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="">
|
|
||||||
</TextView>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/accelerometerBackToMainActivity"
|
android:id="@+id/accelerometerBackToMainActivity"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -41,6 +42,14 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvAccelerometerdeviceListRecyclerView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
|
android:text="Registered Devices">
|
||||||
|
</TextView>
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/deviceListRecyclerView"
|
android:id="@+id/deviceListRecyclerView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -49,6 +58,14 @@
|
|||||||
android:layout_weight="1">
|
android:layout_weight="1">
|
||||||
</androidx.recyclerview.widget.RecyclerView>
|
</androidx.recyclerview.widget.RecyclerView>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvAccelerometeralarmHistoryListRecyclerView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
|
android:text="Alarm History List">
|
||||||
|
</TextView>
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/alarmHistoryListRecyclerView"
|
android:id="@+id/alarmHistoryListRecyclerView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -8,10 +8,25 @@
|
|||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
tools:context=".AudiodetectionActivity">
|
tools:context=".AudiodetectionActivity">
|
||||||
|
|
||||||
|
<SurfaceView
|
||||||
|
android:id="@+id/surfaceViewAudio"
|
||||||
|
android:layout_width="1dp"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:visibility="visible">
|
||||||
|
</SurfaceView>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvAudiodetectionStatusmessage"
|
android:id="@+id/tvAudiodetectionStatusmessage"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
|
android:text="Audiodetection Activity">
|
||||||
|
</TextView>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvAudiodetectionData"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
android:text="">
|
android:text="">
|
||||||
</TextView>
|
</TextView>
|
||||||
|
|
||||||
@ -27,6 +42,14 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvAudiodetectionDeviceListRecyclerView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
|
android:text="Registered Devices">
|
||||||
|
</TextView>
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/deviceListRecyclerView"
|
android:id="@+id/deviceListRecyclerView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -35,6 +58,14 @@
|
|||||||
android:layout_weight="1">
|
android:layout_weight="1">
|
||||||
</androidx.recyclerview.widget.RecyclerView>
|
</androidx.recyclerview.widget.RecyclerView>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvAudiodetectionAlarmHistoryListRecyclerView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
|
android:text="Alarm History List">
|
||||||
|
</TextView>
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/alarmHistoryListRecyclerView"
|
android:id="@+id/alarmHistoryListRecyclerView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -8,11 +8,19 @@
|
|||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
tools:context=".AudiodetectionAndAccelerometerActivity">
|
tools:context=".AudiodetectionAndAccelerometerActivity">
|
||||||
|
|
||||||
|
<SurfaceView
|
||||||
|
android:id="@+id/surfaceViewAudiodetectionAndAccelerometer"
|
||||||
|
android:layout_width="1dp"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:visibility="visible">
|
||||||
|
</SurfaceView>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvAudiodetectionAndAccelerometerStatusmessage"
|
android:id="@+id/tvAudiodetectionAndAccelerometerStatusmessage"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Audiodetection + Accelerometer Activity">
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
|
android:text="Audiodetection+Accelerometer Activity">
|
||||||
</TextView>
|
</TextView>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
@ -27,6 +35,14 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvAudiodetectionAndAccelerometerDeviceListRecyclerView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
|
android:text="Registered Devices">
|
||||||
|
</TextView>
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/deviceListRecyclerView"
|
android:id="@+id/deviceListRecyclerView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -35,6 +51,14 @@
|
|||||||
android:layout_weight="1">
|
android:layout_weight="1">
|
||||||
</androidx.recyclerview.widget.RecyclerView>
|
</androidx.recyclerview.widget.RecyclerView>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvAudiodetectionAndAccelerometerAlarmHistoryListRecyclerView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
|
android:text="Alarm History List">
|
||||||
|
</TextView>
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/alarmHistoryListRecyclerView"
|
android:id="@+id/alarmHistoryListRecyclerView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -8,6 +8,29 @@
|
|||||||
android:padding="5dp"
|
android:padding="5dp"
|
||||||
tools:context=".MainActivity">
|
tools:context=".MainActivity">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvMainActivityDeviceListRecyclerView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
|
android:text="Registered Devices">
|
||||||
|
</TextView>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvMainActivityAlarmHistoryListRecyclerView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
|
android:text="Alarm History List">
|
||||||
|
</TextView>
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/alarmHistoryListRecyclerView"
|
android:id="@+id/alarmHistoryListRecyclerView"
|
||||||
@ -17,13 +40,11 @@
|
|||||||
tools:listitem="@layout/alarm_history_item">
|
tools:listitem="@layout/alarm_history_item">
|
||||||
</androidx.recyclerview.widget.RecyclerView>
|
</androidx.recyclerview.widget.RecyclerView>
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<SurfaceView
|
||||||
android:id="@+id/deviceListRecyclerView"
|
android:id="@+id/surfaceViewMainActivity"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="1dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="1dp">
|
||||||
android:layout_weight="3"
|
</SurfaceView>
|
||||||
tools:listitem="@layout/device_item">
|
|
||||||
</androidx.recyclerview.widget.RecyclerView>
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -8,10 +8,18 @@
|
|||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
tools:context=".VideodetectionActivity">
|
tools:context=".VideodetectionActivity">
|
||||||
|
|
||||||
|
<SurfaceView
|
||||||
|
android:id="@+id/surfaceViewVideodetection"
|
||||||
|
android:layout_width="1dp"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:visibility="visible">
|
||||||
|
</SurfaceView>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvVideodetectionStatusmessage"
|
android:id="@+id/tvVideodetectionStatusmessage"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
android:text="Videodetection Activity">
|
android:text="Videodetection Activity">
|
||||||
</TextView>
|
</TextView>
|
||||||
|
|
||||||
@ -27,6 +35,14 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvVideodetectionDeviceListRecyclerView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
|
android:text="Registered Devices">
|
||||||
|
</TextView>
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/deviceListRecyclerView"
|
android:id="@+id/deviceListRecyclerView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -35,6 +51,14 @@
|
|||||||
android:layout_weight="1">
|
android:layout_weight="1">
|
||||||
</androidx.recyclerview.widget.RecyclerView>
|
</androidx.recyclerview.widget.RecyclerView>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvVideodetectionAlarmHistoryListRecyclerView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
|
android:text="Alarm History List">
|
||||||
|
</TextView>
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/alarmHistoryListRecyclerView"
|
android:id="@+id/alarmHistoryListRecyclerView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -8,11 +8,19 @@
|
|||||||
android:padding="10dp"
|
android:padding="10dp"
|
||||||
tools:context=".VideodetectionAndAccelerometerActivity">
|
tools:context=".VideodetectionAndAccelerometerActivity">
|
||||||
|
|
||||||
|
<SurfaceView
|
||||||
|
android:id="@+id/surfaceViewVideodetectionAndAccelerometer"
|
||||||
|
android:layout_width="1dp"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:visibility="visible">
|
||||||
|
</SurfaceView>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tvvideodetectionAndAccelerometerStatusmessage"
|
android:id="@+id/tvvideodetectionAndAccelerometerStatusmessage"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="">
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
|
android:text="Videodetection+Accelerometer Activity">
|
||||||
</TextView>
|
</TextView>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -22,13 +30,6 @@
|
|||||||
android:text="">
|
android:text="">
|
||||||
</TextView>
|
</TextView>
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvvideodetectionAndAccelerometerWarning"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="">
|
|
||||||
</TextView>
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/videodetectionAndAccelerometerBackToMainActivity"
|
android:id="@+id/videodetectionAndAccelerometerBackToMainActivity"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -41,6 +42,14 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvVideodetectionAndAccelerometerDeviceListRecyclerView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
|
android:text="Registered Devices">
|
||||||
|
</TextView>
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/deviceListRecyclerView"
|
android:id="@+id/deviceListRecyclerView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -49,6 +58,14 @@
|
|||||||
android:layout_weight="1">
|
android:layout_weight="1">
|
||||||
</androidx.recyclerview.widget.RecyclerView>
|
</androidx.recyclerview.widget.RecyclerView>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvVideodetectionAndAccelerometerAlarmHistoryListRecyclerView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||||
|
android:text="Alarm History List">
|
||||||
|
</TextView>
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
android:id="@+id/alarmHistoryListRecyclerView"
|
android:id="@+id/alarmHistoryListRecyclerView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user