<?xml version="1.0" encoding="utf-8"?>
<!--
  ownCloud Android client application

  Copyright (C) 2012  Bartek Przybylski
  Copyright (C) 2012-2013 ownCloud Inc.

  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License version 2,
  as published by the Free Software Foundation.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
    <PreferenceCategory
		android:title="@string/prefs_category_accounts"
		android:key="accounts_category">
    </PreferenceCategory>
    
	<PreferenceCategory android:title="@string/prefs_category_security">
		<!-- ListPreference
            android:key="select_oc_account"
            android:title="@string/prefs_select_oc_account"
            android:summary="@string/prefs_summary_select_oc_account"
            / -->
		<com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle android:title="@string/prefs_pincode" android:key="set_pincode"
			android:summary="@string/prefs_pincode_summary"/>
	</PreferenceCategory>

    <PreferenceCategory android:title="@string/prefs_category_instant_uploading"
		android:key="instant_uploading_category">
   	    <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
			android:dependency="instant_uploading"
       				android:disableDependentsState="true"
       				android:title="@string/instant_upload_on_charging"
       				android:key="instant_upload_on_charging"/>
	    <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
			android:key="instant_uploading"
	                        android:title="@string/prefs_instant_upload"
	                        android:summary="@string/prefs_instant_upload_summary"/>
         <com.owncloud.android.ui.PreferenceWithLongSummary
							android:title="@string/prefs_instant_upload_path_title"
							android:key="instant_upload_path" />
	    <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
	        				android:title="@string/instant_upload_on_wifi"
	        				android:key="instant_upload_on_wifi"/>
	    <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
			android:key="instant_video_uploading"
	                        android:title="@string/prefs_instant_video_upload"
	                        android:summary="@string/prefs_instant_video_upload_summary" />
	    <com.owncloud.android.ui.PreferenceWithLongSummary
							android:title="@string/prefs_instant_video_upload_path_title"
							android:key="instant_video_upload_path" />
	    <com.owncloud.android.ui.CheckBoxPreferenceWithLongTitle
	        				android:title="@string/instant_video_upload_on_wifi"
	        				android:key="instant_video_upload_on_wifi"/>
	    <!-- DISABLED FOR RELEASE UNTIL FIXED
	    CheckBoxPreference android:key="log_to_file"
	                        android:title="@string/prefs_log_title"
	                        android:summary="@string/prefs_log_summary"/>
		<Preference 		android:key="log_history"
	                        android:title="@string/prefs_log_title_history"
	                        android:summary="@string/prefs_log_summary_history"/ -->
                        
    </PreferenceCategory>
	
	<PreferenceCategory android:title="@string/prefs_category_more" android:key="more">
		<Preference android:title="@string/prefs_help" android:key="help" />
		<Preference android:title="@string/prefs_recommend" android:key="recommend" />
		<Preference android:title="@string/prefs_feedback" android:key="feedback" />
		<Preference android:title="@string/prefs_imprint" android:key="imprint" />

		<Preference 		android:id="@+id/about_app"
			android:title="@string/about_title"
			android:key="about_app" />
	</PreferenceCategory>


</PreferenceScreen>
