Files
app_Settings/res/xml/automatic_storage_management_settings.xml
Jorge Gil 6f44493338 Add switch to enable downloads backup.
Bug: 30503075
Change-Id: I011d88d16ab8677b63b73e059f0edf823cc82389
2016-08-08 21:11:27 -07:00

70 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/automatic_storage_manager_settings" >
<PreferenceCategory
android:key="automatic"
android:title="@string/deletion_helper_automatic_title">
<SwitchPreference
android:key="storage_manager_active"
android:title="@string/automatic_storage_manager_preference_title"
android:summary="@string/automatic_storage_manager_text"/>
<SwitchPreference
android:key="downloads_backup_active"
android:title="@string/downloads_backup_preference_title"
android:summary="@string/downloads_backup_text"/>
<com.android.settings.fuelgauge.WallOfTextPreference
android:key="freed_bytes"
android:persistent="false"
android:selectable="false"
settings:allowDividerAbove="false"
settings:allowDividerBelow="true" />
<DropDownPreference
android:key="days"
android:summary="%s"
android:title="@string/automatic_storage_manager_days_title"
android:entries="@array/automatic_storage_management_days"
android:entryValues="@array/automatic_storage_management_days_values"
settings:allowDividerAbove="true" />
<DropDownPreference
android:key="downloads_days"
android:summary="%s"
android:title="@string/automatic_storage_manager_downloads_days_title"
android:entries="@array/automatic_storage_management_days"
android:entryValues="@array/automatic_storage_management_days_values"
settings:allowDividerAbove="true" />
</PreferenceCategory>
<PreferenceCategory
android:key="manual"
android:title="@string/deletion_helper_manual_title">
<Preference
android:key="deletion_helper"
android:title="@string/deletion_helper_preference_title"/>
</PreferenceCategory>
</PreferenceScreen>