prefs.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
  3. <PreferenceCategory android:title="@string/prefs_refresh_category">
  4. <CheckBoxPreference
  5. android:title="@string/prefs_refresh_service_title"
  6. android:key="@string/key_refresh_service"
  7. android:persistent="true"
  8. android:summary="@string/prefs_refresh_service_summary"
  9. />
  10. <ListPreference
  11. android:entryValues="@array/prefs_refresh_time_value"
  12. android:persistent="true"
  13. android:entries="@array/prefs_refresh_time"
  14. android:title="@string/prefs_refresh_status_time_title"
  15. android:dialogTitle="@string/prefs_refresh_status_time_dialogTitle"
  16. android:key="@string/key_refresh_status_time"
  17. android:summary="@string/prefs_refresh_status_time_summary"
  18. android:dependency="service"
  19. android:defaultValue="600"
  20. />
  21. </PreferenceCategory>
  22. <PreferenceCategory android:title="@string/prefs_app_category">
  23. <EditTextPreference
  24. android:title="@string/prefs_server_name_title"
  25. android:summary="@string/prefs_server_name_summary"
  26. android:key="@string/key_server_name"
  27. android:persistent="true"
  28. android:defaultValue="http://isopen.hacklabbo.indivia.net/hacklabbo/state.json"
  29. />
  30. <CheckBoxPreference
  31. android:title="@string/prefs_update_title"
  32. android:key="@string/key_update_service"
  33. android:persistent="true"
  34. android:summary="@string/prefs_update_summary"
  35. />
  36. </PreferenceCategory>
  37. </PreferenceScreen>