mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-30 22:34:02 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			132 lines
		
	
	
	
		
			4.8 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			132 lines
		
	
	
	
		
			4.8 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">
 | |
| 
 | |
|         <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: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="false"
 | |
|           android:key="displayDeletionButton"
 | |
|           app:singleLineTitle="false"
 | |
|           android:summary="Enable the "Delete folder" button in the custom picker"
 | |
|           android:title="Show Deletion Button" />
 | |
| 
 | |
|     </PreferenceCategory>
 | |
| 
 | |
|     <PreferenceCategory
 | |
|         android:title="Uploads">
 | |
| 
 | |
|         <SwitchPreference
 | |
| 
 | |
|           android:defaultValue="true"
 | |
|           android:key="useExternalStorage"
 | |
|           app:singleLineTitle="false"
 | |
|           android:summary="@string/use_external_storage_summary"
 | |
|           android:title="@string/use_external_storage" />
 | |
| 
 | |
|         <SwitchPreference
 | |
|           android:key="inAppCameraLocationPref"
 | |
|           android:title="@string/in_app_camera_location_permission_title"
 | |
|           android:summary="@string/in_app_camera_location_switch_pref_summary"/>
 | |
| 
 | |
|         <SwitchPreference
 | |
|           android:defaultValue="true"
 | |
|           android:key="openDocumentPhotoPickerPref"
 | |
|           android:summary="@string/open_document_photo_picker_explanation"
 | |
|           android:title="@string/open_document_photo_picker_title"/>
 | |
| 
 | |
|         <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" />
 | |
| 
 | |
|     </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>
 | 
