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.

123456789101112131415161718192021
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <LinearLayout 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. <Button
  7. android:id="@+id/togglebutton"
  8. android:layout_width="fill_parent"
  9. android:layout_height="wrap_content"
  10. android:text="@string/service_enabled"
  11. android:layout_marginTop="5dip"
  12. android:layout_marginBottom="5dip"
  13. />
  14. <ListView
  15. android:id="@+id/list"
  16. android:layout_width="fill_parent"
  17. android:layout_height="fill_parent"
  18. android:layout_weight="1"
  19. android:drawSelectorOnTop="false"
  20. />
  21. </LinearLayout>