main.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:orientation="vertical" >
  6. <org.ros.android.view.visualization.VisualizationView
  7. android:id="@+id/visualization"
  8. android:layout_width="match_parent"
  9. android:layout_height="0dp"
  10. android:layout_weight="1" />
  11. <LinearLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:padding="3dip" >
  15. <ToggleButton
  16. android:id="@+id/follow_me_toggle_button"
  17. style="@style/ButtonFont"
  18. android:layout_width="wrap_content"
  19. android:layout_height="wrap_content"
  20. android:onClick="onFollowMeToggleButtonClicked"
  21. android:textOff="Follow Me"
  22. android:textOn="Follow Me" />
  23. <Button
  24. android:id="@+id/clear_map_button"
  25. style="@style/ButtonFont"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:onClick="onClearMapButtonClicked"
  29. android:text="Clear Map" />
  30. <Button
  31. android:id="@+id/save_map_button"
  32. style="@style/ButtonFont"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:onClick="onSaveMapButtonClicked"
  36. android:text="Save Map" />
  37. </LinearLayout>
  38. </LinearLayout>