]> 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
old mode 100755 (executable)
new mode 100644 (file)
index f7a6feb..2d6f512
@@ -1,7 +1,87 @@
 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">\r
-       \r
-<EditTextPreference android:key="@string/dictFileKey" android:persistent="true" android:title="Dictionary file" android:summary="The local filename where the dictionary is stored." android:defaultValue="@string/dictFile"></EditTextPreference>
-<EditTextPreference android:key="@string/wordListFileKey" android:summary="The local file where the word list will be appended." android:title="Word list file" android:persistent="true" android:defaultValue="@string/wordListFile"></EditTextPreference>
-<EditTextPreference android:key="@string/dictFetchUrlKey" android:summary="URL to use to download the dictionary from the Internet." android:persistent="true" android:title="Dictionary fetch URL" android:defaultValue="@string/dictFetchUrl"></EditTextPreference>
-
-</PreferenceScreen>  
\ No newline at end of file
+\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=""\r
+    android:persistent="true"\r
+  />\r
+\r
+    \r
+       <EditTextPreference\r
+         android:key="@string/wordListFileKey"\r
+    android:title="@string/wordListFileTitle" \r
+    android:summary="@string/wordListFileSummary"\r
+               android:defaultValue=""\r
+    android:persistent="true"\r
+       />\r
\r
+   <ListPreference \r
+    android:key="@string/fontKey"\r
+    android:title="@string/fontTitle"\r
+    android:summary="@string/fontSummary"\r
+    android:persistent="true"\r
+    android:defaultValue="FreeSerif.otf.jpg"\r
+    android:entries="@array/fonts"\r
+    android:entryValues="@array/fontKeys"\r
+  />\r
\r
+  <EditTextPreference\r
+    android:key="@string/fontSizeKey"\r
+    android:title="@string/fontSizeTitle" \r
+    android:summary="@string/fontSizeSummary"\r
+    android:defaultValue="14"\r
+    android:persistent="true"\r
+  />\r
+\r
+  <CheckBoxPreference \r
+    android:key="@string/saveOnlyFirstSubentryKey"\r
+    android:title="@string/saveOnlyFirstSubentryTitle"\r
+    android:summary="@string/saveOnlyFirstSubentrySummary"\r
+    android:defaultValue="false"\r
+    android:persistent="true"\r
+  />\r
+\r
+  <CheckBoxPreference \r
+    android:key="@string/clickOpensContextMenuKey"\r
+    android:title="@string/clickOpensContextMenuTitle"\r
+    android:summary="@string/clickOpensContextMenuSummary"\r
+    android:defaultValue="false"\r
+    android:persistent="true"\r
+  />\r
+\r
+  <CheckBoxPreference \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
+  <ListPreference \r
+    android:key="@string/themeKey"\r
+    android:title="@string/themeTitle"\r
+    android:summary="@string/themeSummary"\r
+    android:persistent="true"\r
+    android:defaultValue="themeLight"\r
+    android:entries="@array/themes"\r
+    android:entryValues="@array/themeKeys"\r
+  />\r
+\r
+  <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