mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 04:41:16 +00:00
Added preference categories.
This commit is contained in:
parent
beb9dc54a4
commit
703578aeb5
2 changed files with 124 additions and 103 deletions
|
@ -203,6 +203,8 @@ Please report any problems you encounter via Github.</string>
|
||||||
<!-- Activity title -->
|
<!-- Activity title -->
|
||||||
<string name="settings_title">Settings</string>
|
<string name="settings_title">Settings</string>
|
||||||
|
|
||||||
|
<string name="category_syncthing_android">Syncthing-Android</string>
|
||||||
|
|
||||||
<!-- Preference title -->
|
<!-- Preference title -->
|
||||||
<string name="always_run_in_background">Always run in background</string>
|
<string name="always_run_in_background">Always run in background</string>
|
||||||
|
|
||||||
|
@ -220,6 +222,8 @@ Please report any problems you encounter via Github.</string>
|
||||||
|
|
||||||
<string name="advanced_folder_picker_summary">Select any folder on the device for syncing</string>
|
<string name="advanced_folder_picker_summary">Select any folder on the device for syncing</string>
|
||||||
|
|
||||||
|
<string name="category_syncthing">Syncthing</string>
|
||||||
|
|
||||||
<string name="syncthing_options">Syncthing Options</string>
|
<string name="syncthing_options">Syncthing Options</string>
|
||||||
|
|
||||||
<string name="device_name">Device Name</string>
|
<string name="device_name">Device Name</string>
|
||||||
|
@ -266,6 +270,8 @@ Please report any problems you encounter via Github.</string>
|
||||||
<!-- Title for the preference to set STTRACE parameters -->
|
<!-- Title for the preference to set STTRACE parameters -->
|
||||||
<string name="sttrace_title">Debug Options</string>
|
<string name="sttrace_title">Debug Options</string>
|
||||||
|
|
||||||
|
<string name="category_about">About</string>
|
||||||
|
|
||||||
<!-- Settings item that opens issue tracker -->
|
<!-- Settings item that opens issue tracker -->
|
||||||
<string name="report_issue_title">Report Issue</string>
|
<string name="report_issue_title">Report Issue</string>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
|
<PreferenceCategory
|
||||||
|
android:title="@string/category_syncthing_android">
|
||||||
|
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
android:key="always_run_in_background"
|
android:key="always_run_in_background"
|
||||||
android:title="@string/always_run_in_background"
|
android:title="@string/always_run_in_background"
|
||||||
|
@ -22,6 +25,11 @@
|
||||||
android:summary="@string/advanced_folder_picker_summary"
|
android:summary="@string/advanced_folder_picker_summary"
|
||||||
android:defaultValue="false" />
|
android:defaultValue="false" />
|
||||||
|
|
||||||
|
</PreferenceCategory>
|
||||||
|
|
||||||
|
<PreferenceCategory
|
||||||
|
android:title="@string/category_syncthing">
|
||||||
|
|
||||||
<PreferenceScreen
|
<PreferenceScreen
|
||||||
android:key="syncthing_options"
|
android:key="syncthing_options"
|
||||||
android:title="@string/syncthing_options"
|
android:title="@string/syncthing_options"
|
||||||
|
@ -105,6 +113,11 @@
|
||||||
android:title="@string/sttrace_title"
|
android:title="@string/sttrace_title"
|
||||||
android:singleLine="true" />
|
android:singleLine="true" />
|
||||||
|
|
||||||
|
</PreferenceCategory>
|
||||||
|
|
||||||
|
<PreferenceCategory
|
||||||
|
android:title="@string/category_about">
|
||||||
|
|
||||||
<Preference
|
<Preference
|
||||||
android:title="@string/report_issue_title"
|
android:title="@string/report_issue_title"
|
||||||
android:summary="@string/report_issue_summary">
|
android:summary="@string/report_issue_summary">
|
||||||
|
@ -123,4 +136,6 @@
|
||||||
android:title="@string/app_version_title"
|
android:title="@string/app_version_title"
|
||||||
style="?android:preferenceInformationStyle" />
|
style="?android:preferenceInformationStyle" />
|
||||||
|
|
||||||
|
</PreferenceCategory>
|
||||||
|
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
||||||
|
|
Loading…
Reference in a new issue