add preference for cache size
authortobiasKaminsky <tobias@kaminsky.me>
Mon, 12 Oct 2015 05:40:21 +0000 (07:40 +0200)
committertobiasKaminsky <tobias@kaminsky.me>
Mon, 12 Oct 2015 05:40:21 +0000 (07:40 +0200)
res/values/strings.xml
res/xml/preferences.xml

index 267d713..3d8726f 100644 (file)
     <string name="file_list__footer__files">%1$d files</string>
     <string name="file_list__footer__files_and_folder">%1$d files, 1 folder</string>
     <string name="file_list__footer__files_and_folders">%1$d files, %2$d folders</string>
+    <string name="common_category">Common</string>
 
 </resources>
index 4823a83..e2e35de 100644 (file)
                                android:summary="@string/prefs_log_summary_history"/ -->
                         
     </PreferenceCategory>
-       
+
+       <PreferenceCategory android:title="@string/common_category" android:key="common_category">
+               <EditTextPreference android:title="Cache size (in MB)" android:key="pref_cache_size" android:digits="0123456789"/>
+       </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" />