You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

activity_videodetection.xml 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:orientation="vertical"
  8. android:padding="10dp"
  9. tools:context=".VideodetectionActivity">
  10. <SurfaceView
  11. android:id="@+id/surfaceViewVideodetection"
  12. android:layout_width="1dp"
  13. android:layout_height="1dp"
  14. android:visibility="visible">
  15. </SurfaceView>
  16. <TextView
  17. android:id="@+id/tvVideodetectionStatusmessage"
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:textAppearance="@style/TextAppearance.AppCompat.Large"
  21. android:text="Videodetection Activity">
  22. </TextView>
  23. <Button
  24. android:id="@+id/videodetectorBackToMainActivity"
  25. android:layout_width="match_parent"
  26. android:layout_height="wrap_content"
  27. android:text="Back to MainActivity">
  28. </Button>
  29. <LinearLayout
  30. android:layout_width="match_parent"
  31. android:layout_height="match_parent"
  32. android:orientation="vertical">
  33. <TextView
  34. android:id="@+id/tvVideodetectionDeviceListRecyclerView"
  35. android:layout_width="match_parent"
  36. android:layout_height="wrap_content"
  37. android:textAppearance="@style/TextAppearance.AppCompat.Large"
  38. android:text="Registered Devices">
  39. </TextView>
  40. <androidx.recyclerview.widget.RecyclerView
  41. android:id="@+id/deviceListRecyclerView"
  42. android:layout_width="match_parent"
  43. android:layout_height="match_parent"
  44. tools:listitem="@layout/device_item"
  45. android:layout_weight="1">
  46. </androidx.recyclerview.widget.RecyclerView>
  47. <TextView
  48. android:id="@+id/tvVideodetectionAlarmHistoryListRecyclerView"
  49. android:layout_width="match_parent"
  50. android:layout_height="wrap_content"
  51. android:textAppearance="@style/TextAppearance.AppCompat.Large"
  52. android:text="Alarm History List">
  53. </TextView>
  54. <androidx.recyclerview.widget.RecyclerView
  55. android:id="@+id/alarmHistoryListRecyclerView"
  56. android:layout_width="match_parent"
  57. android:layout_height="match_parent"
  58. tools:listitem="@layout/alarm_history_item"
  59. android:layout_weight="1">
  60. </androidx.recyclerview.widget.RecyclerView>
  61. </LinearLayout>
  62. </LinearLayout>