first commit
This commit is contained in:
		
							
								
								
									
										42
									
								
								app/src/main/res/xml/root_preferences.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								app/src/main/res/xml/root_preferences.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,42 @@
 | 
			
		||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    xmlns:app="http://schemas.android.com/apk/res-auto">
 | 
			
		||||
 | 
			
		||||
    <PreferenceCategory
 | 
			
		||||
        app:title="@string/server_header">
 | 
			
		||||
 | 
			
		||||
        <SwitchPreference
 | 
			
		||||
            android:defaultValue="false"
 | 
			
		||||
            android:key="protocol"
 | 
			
		||||
            android:title="@string/server_protocol" />
 | 
			
		||||
        <EditTextPreference
 | 
			
		||||
            app:defaultValue="@string/server_host_def"
 | 
			
		||||
            app:key="host"
 | 
			
		||||
            app:title="@string/server_host"
 | 
			
		||||
            app:useSimpleSummaryProvider="true" />
 | 
			
		||||
 | 
			
		||||
        <EditTextPreference
 | 
			
		||||
            app:defaultValue="@string/server_port_def"
 | 
			
		||||
            app:key="port"
 | 
			
		||||
            app:title="@string/server_port"
 | 
			
		||||
            app:useSimpleSummaryProvider="true"
 | 
			
		||||
            app:dialogLayout="@xml/preference_edit_text_input" />
 | 
			
		||||
 | 
			
		||||
        <EditTextPreference
 | 
			
		||||
            app:defaultValue="@string/server_root_def"
 | 
			
		||||
            app:key="root"
 | 
			
		||||
            app:title="@string/server_root"
 | 
			
		||||
            app:useSimpleSummaryProvider="true" />
 | 
			
		||||
 | 
			
		||||
    </PreferenceCategory>
 | 
			
		||||
 | 
			
		||||
    <PreferenceCategory app:title="@string/local_header">
 | 
			
		||||
 | 
			
		||||
        <Preference
 | 
			
		||||
            app:key="local_storage"
 | 
			
		||||
            app:title="@string/local_storage"
 | 
			
		||||
            app:defaultValue="@string/local_storage_def"
 | 
			
		||||
            app:useSimpleSummaryProvider="true" />
 | 
			
		||||
 | 
			
		||||
    </PreferenceCategory>
 | 
			
		||||
 | 
			
		||||
</PreferenceScreen>
 | 
			
		||||
		Reference in New Issue
	
	Block a user