]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - res/xml/preferences.xml
go
[Dictionary.git] / res / xml / preferences.xml
index f7a6feb97fca6d40ff6344fa65cb71bbc8ef924e..52cea010098175165baf25b74f7fab7b31eb5778 100755 (executable)
@@ -1,7 +1,37 @@
 <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>
-
+\r
+       <EditTextPreference\r
+         android:key="@string/wordListFileKey"\r
+    android:title="@string/wordListFileTitle" \r
+    android:summary="@string/wordListFileSummary"\r
+               android:defaultValue="@string/wordListFileDefault"\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/showClearSearchTextButtonKey"\r
+    android:title="@string/showClearSearchTextButtonTitle"\r
+    android:summary="@string/showClearSearchTextButtonSummary"\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=""\r
+    android:entries="@array/themes"\r
+    android:entryValues="@array/themeKeys"\r
+  />\r
+\r
 </PreferenceScreen>  
\ No newline at end of file