mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
The enable state used to trigger the GET_CONTENT intent. Alter the flow such that the GET_CONTENT intent is triggered when switch is disabled. Adjust default value and other parts of code naming to reflect this. The existing phrasing had a lot of tech jargon in it which could result in the non-technical users being confused. Tweak the phrasing to avoid such phrases. The documentation in the website could also use some follow up improvements.
112 lines
No EOL
4.2 KiB
XML
112 lines
No EOL
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/preference_category_appearance">
|
|
|
|
<ListPreference
|
|
android:key="appThemePref"
|
|
android:title= "@string/preference_theme"
|
|
app:singleLineTitle="false"
|
|
android:entries="@array/pref_theme_entries"
|
|
android:entryValues="@array/pref_theme_entries_values"
|
|
app:useSimpleSummaryProvider="true"
|
|
android:defaultValue="0" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/preference_category_general">
|
|
|
|
<SwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="useExternalStorage"
|
|
app:singleLineTitle="false"
|
|
android:summary="@string/use_external_storage_summary"
|
|
android:title="@string/use_external_storage" />
|
|
|
|
<Preference
|
|
android:key="appUiDefaultLanguagePref"
|
|
app:useSimpleSummaryProvider="true"
|
|
app:singleLineTitle="false"
|
|
android:title="@string/app_ui_language" />
|
|
|
|
<Preference
|
|
android:key="descriptionDefaultLanguagePref"
|
|
app:useSimpleSummaryProvider="true"
|
|
app:singleLineTitle="false"
|
|
android:title="@string/default_description_language" />
|
|
|
|
<SwitchPreference
|
|
android:key="useAuthorName"
|
|
app:singleLineTitle="false"
|
|
android:summary="@string/preference_author_name_toggle_summary"
|
|
android:title="@string/preference_author_name_toggle" />
|
|
|
|
<EditTextPreference
|
|
android:key="authorName"
|
|
app:singleLineTitle="false"
|
|
app:dependency="useAuthorName"
|
|
app:useSimpleSummaryProvider="true"
|
|
android:title="@string/preference_author_name" />
|
|
|
|
<SwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="displayNearbyCardView"
|
|
app:singleLineTitle="false"
|
|
android:summary="@string/display_nearby_notification_summary"
|
|
android:title="@string/display_nearby_notification" />
|
|
|
|
<SwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="displayLocationPermissionForCardView"
|
|
app:singleLineTitle="false"
|
|
android:summary="@string/display_location_permission_explanation"
|
|
android:title="@string/display_location_permission_title" />
|
|
<SwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="displayCampaignsCardView"
|
|
app:singleLineTitle="false"
|
|
android:summary="@string/display_campaigns_explanation"
|
|
android:title="@string/display_campaigns" />
|
|
|
|
<SwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="openDocumentPhotoPickerPref"
|
|
android:summary="@string/open_document_photo_picker_explanation"
|
|
android:title="@string/open_document_photo_picker_title"/>
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/preference_category_privacy">
|
|
|
|
<MultiSelectListPreference
|
|
android:entries="@array/pref_exifTag_entries"
|
|
android:entryValues="@array/pref_exifTag_values"
|
|
android:key="managed_exif_tags"
|
|
app:singleLineTitle="false"
|
|
android:summary="@string/manage_exif_tags_summary"
|
|
android:title="@string/manage_exif_tags" />
|
|
</PreferenceCategory>
|
|
|
|
<!-- The key 'allowGps' was used before and has since been removed based on the discussion at #1599.
|
|
Do not reuse this key unless you revive the same feature with the changes mentioned at #1599.-->
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/preference_category_feedback">
|
|
|
|
<Preference
|
|
android:key="becomeBetaTester"
|
|
android:summary="@string/become_a_tester_description"
|
|
app:singleLineTitle="false"
|
|
android:title="@string/become_a_tester_title"/>
|
|
|
|
<Preference
|
|
android:key="sendLogFile"
|
|
android:summary="@string/send_log_file_description"
|
|
app:singleLineTitle="false"
|
|
android:title="@string/send_log_file" />
|
|
|
|
</PreferenceCategory>
|
|
</PreferenceScreen> |