mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
* Fixes #3766 * Added OPENSTREET attribution in nearby * Added custom text attribution in Nearby * Deleted unused class CustomBorderTextView * review suggested changes * modified telemetry summary string
116 lines
No EOL
4.2 KiB
XML
116 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" />
|
|
|
|
<EditTextPreference
|
|
android:defaultValue="100"
|
|
android:key="uploads"
|
|
app:useSimpleSummaryProvider="true"
|
|
app:singleLineTitle="false"
|
|
android:title="@string/set_limit" />
|
|
|
|
<ListPreference
|
|
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" />
|
|
|
|
</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" />
|
|
|
|
<SwitchPreference
|
|
android:defaultValue="true"
|
|
android:key="telemetryOptOut"
|
|
app:singleLineTitle="false"
|
|
android:summary="@string/telemetry_opt_out_summary"
|
|
android:title="@string/mapbox_telemetry" />
|
|
|
|
</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> |