]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - res/xml/preferences.xml
Add preference for number of search history entries.
[Dictionary.git] / res / xml / preferences.xml
index 4a6f57ebd88333ebcecb68114227de4d35e21b6c..2d6f51264b89d76c947f48622f8cd25934437888 100644 (file)
@@ -1,10 +1,17 @@
 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">\r
 \r
+  <ListPreference \r
+    android:key="@string/defaultDicKey"\r
+    android:title="@string/defaultDicTitle"\r
+    android:summary="@string/defaultDicSummary"\r
+    android:persistent="true"\r
+  />\r
+\r
   <EditTextPreference\r
     android:key="@string/quickdicDirectoryKey"\r
     android:title="@string/quickdicDirectoryTitle" \r
     android:summary="@string/quickdicDirectorySummary"\r
-    android:defaultValue="@string/quickdicDirectoryDefault"\r
+    android:defaultValue=""\r
     android:persistent="true"\r
   />\r
 \r
@@ -13,7 +20,7 @@
          android:key="@string/wordListFileKey"\r
     android:title="@string/wordListFileTitle" \r
     android:summary="@string/wordListFileSummary"\r
-               android:defaultValue="@string/wordListFileDefault"\r
+               android:defaultValue=""\r
     android:persistent="true"\r
        />\r
  \r
@@ -22,7 +29,7 @@
     android:title="@string/fontTitle"\r
     android:summary="@string/fontSummary"\r
     android:persistent="true"\r
-    android:defaultValue="FreeSerif.ttf.jpg"\r
+    android:defaultValue="FreeSerif.otf.jpg"\r
     android:entries="@array/fonts"\r
     android:entryValues="@array/fontKeys"\r
   />\r
   />\r
 \r
   <CheckBoxPreference \r
-    android:key="@string/showClearSearchTextButtonKey"\r
-    android:title="@string/showClearSearchTextButtonTitle"\r
-    android:summary="@string/showClearSearchTextButtonSummary"\r
+    android:key="@string/showPrevNextButtonsKey"\r
+    android:title="@string/showPrevNextButtonsTitle"\r
+    android:summary="@string/showPrevNextButtonsSummary"\r
     android:defaultValue="true"\r
     android:persistent="true"\r
   />\r
-\r
+  \r
   <ListPreference \r
     android:key="@string/themeKey"\r
     android:title="@string/themeTitle"\r
     android:entryValues="@array/themeKeys"\r
   />\r
 \r
-</PreferenceScreen>  
\ No newline at end of file
+  <EditTextPreference\r
+    android:key="@string/historySizeKey"\r
+    android:title="@string/historySizeTitle"\r
+    android:summary="@string/historySizeSummary"\r
+    android:defaultValue="10"\r
+    android:persistent="true"\r
+  />\r
+\r
+</PreferenceScreen>  \r