summaryrefslogtreecommitdiffstats
path: root/res/xml/memory_management.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/xml/memory_management.xml')
-rw-r--r--res/xml/memory_management.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/res/xml/memory_management.xml b/res/xml/memory_management.xml
new file mode 100644
index 0000000..187c815
--- /dev/null
+++ b/res/xml/memory_management.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 The CyanogenMod 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"
+ android:title="@string/memory_management_title"
+ xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
+
+ <ListPreference
+ android:key="pref_zram_size"
+ android:dialogTitle="@string/pref_zram_title"
+ android:title="@string/pref_zram_title"
+ android:summary="@string/pref_zram_summary"
+ android:entries="@array/pref_zram_size_entries"
+ android:entryValues="@array/pref_zram_size_values" />
+
+ <CheckBoxPreference
+ android:key="pref_purgeable_assets"
+ android:title="@string/pref_purgeable_assets_title"
+ android:summary="@string/pref_purgeable_assets_summary" />
+
+ <CheckBoxPreference
+ android:key="pref_ksm"
+ android:title="@string/pref_ksm_title"
+ android:summary="@string/pref_ksm_summary" />
+
+</PreferenceScreen>