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 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839
  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>