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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. android:padding="5px">
  7. <TextView
  8. android:id="@+id/text"
  9. android:layout_width="fill_parent"
  10. android:layout_height="wrap_content"
  11. android:text="Hello Android from NetBeans"
  12. android:layout_marginBottom="15dip"/>
  13. <TextView
  14. android:id="@+id/caption"
  15. android:layout_width="fill_parent"
  16. android:layout_height="wrap_content"
  17. android:layout_below="@id/text"
  18. android:text="Caption"/>
  19. <EditText
  20. android:id="@+id/entry"
  21. android:layout_width="fill_parent"
  22. android:layout_height="wrap_content"
  23. android:background="@android:drawable/editbox_background"
  24. android:layout_below="@id/caption"
  25. android:layout_marginBottom="15dip"
  26. android:singleLine="true"/>
  27. <Button
  28. android:id="@+id/start"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:layout_below="@id/entry"
  32. android:text="Start recording"/>
  33. <Button
  34. android:id="@+id/upload"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:layout_below="@id/entry"
  38. android:layout_toRightOf="@id/start"
  39. android:text="Upload data"/>
  40. <TextView
  41. android:id="@+id/viewcaption"
  42. android:layout_width="fill_parent"
  43. android:layout_height="wrap_content"
  44. android:layout_below="@id/upload"
  45. android:text="View your uploaded data at:"
  46. android:layout_marginTop="15dip"/>
  47. </RelativeLayout>