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_accelerometer.xml 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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=".AccelerometerActivity">
  10. <TextView
  11. android:id="@+id/tvAccelerometerStatusmessage"
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:text="">
  15. </TextView>
  16. <TextView
  17. android:id="@+id/tvAccelerometerData"
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:text="">
  21. </TextView>
  22. <TextView
  23. android:id="@+id/tvAccelerometerWarning"
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content"
  26. android:text="">
  27. </TextView>
  28. <Button
  29. android:id="@+id/accelerometerBackToMainActivity"
  30. android:layout_width="match_parent"
  31. android:layout_height="wrap_content"
  32. android:text="Back to MainActivity">
  33. </Button>
  34. <LinearLayout
  35. android:layout_width="match_parent"
  36. android:layout_height="match_parent"
  37. android:orientation="vertical">
  38. <androidx.recyclerview.widget.RecyclerView
  39. android:id="@+id/deviceListRecyclerView"
  40. android:layout_width="match_parent"
  41. android:layout_height="match_parent"
  42. tools:listitem="@layout/device_item"
  43. android:layout_weight="1">
  44. </androidx.recyclerview.widget.RecyclerView>
  45. <androidx.recyclerview.widget.RecyclerView
  46. android:id="@+id/alarmHistoryListRecyclerView"
  47. android:layout_width="match_parent"
  48. android:layout_height="match_parent"
  49. tools:listitem="@layout/alarm_history_item"
  50. android:layout_weight="1">
  51. </androidx.recyclerview.widget.RecyclerView>
  52. </LinearLayout>
  53. </LinearLayout>