Context-detection API for Android developed as a university project
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.

main.xml 910B

123456789101112131415161718192021222324
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical"
  4. android:layout_width="fill_parent"
  5. android:layout_height="fill_parent">"
  6. <TextView
  7. android:id="@+id/text"
  8. android:layout_width="fill_parent"
  9. android:layout_height="wrap_content"
  10. android:text="Hello Android from NetBeans"/>
  11. <Button
  12. android:id="@+id/start"
  13. android:layout_width="wrap_content"
  14. android:layout_height="wrap_content"
  15. android:layout_below="@+id/text"
  16. android:text="Start/Stop service"/>
  17. <Button
  18. android:id="@+id/upload"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:layout_below="@+id/text"
  22. android:layout_toRightOf="@+id/start"
  23. android:text="Upload data"/>
  24. </RelativeLayout>