Projektarbeit
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_main.xml 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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. tools:context=".MainActivity">
  8. <Button
  9. android:layout_width="wrap_content"
  10. android:layout_height="wrap_content"
  11. android:id="@+id/btnEarthquake"
  12. android:text="@string/generate_earthquake"
  13. android:layout_centerVertical="true"
  14. android:layout_centerHorizontal="true" />
  15. <Button
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:id="@+id/btnSensor"
  19. android:text="@string/be_a_sensor"
  20. android:layout_centerHorizontal="true"
  21. android:layout_below="@id/btnEarthquake"/>
  22. <Button
  23. android:id="@+id/buttonDatenBankMuster"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:layout_below="@+id/btnSensor"
  27. android:layout_centerHorizontal="true"
  28. android:layout_marginTop="50dp"
  29. android:text="@string/start_mit_vordefinierter_db" />
  30. <Button
  31. android:id="@+id/buttonDatenBankLeeren"
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:layout_below="@+id/buttonDatenBankMuster"
  35. android:layout_centerHorizontal="true"
  36. android:text="@string/start_mit_leeren_db" />
  37. <Button
  38. android:id="@+id/buttonReset"
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:layout_below="@+id/buttonDatenBankLeeren"
  42. android:layout_centerHorizontal="true"
  43. android:text="@string/weitermachen_buttonreset" />
  44. </RelativeLayout>