]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - res/xml/preferences.xml
Font size pref, reorder a few EntryTypes.
[Dictionary.git] / res / xml / preferences.xml
old mode 100755 (executable)
new mode 100644 (file)
index 6b6a119..d52c300
@@ -1,8 +1,53 @@
 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">\r
-       \r
-       \r
-<EditTextPreference android:persistent="true" android:title="Dictionary file" android:defaultValue="/sdcard/de-en.dict" android:summary="The local filename where the dictionary is stored." android:key="@string/dictFile"></EditTextPreference>
-<EditTextPreference android:key="@string/wordListFile" android:summary="The local file where the word list will be appended." android:title="Word list file" android:persistent="true" android:defaultValue="/sdcard/wordList.txt"></EditTextPreference>
-<EditTextPreference android:key="@string/dictFetchUrl" android:summary="URL to use to download the dictionary from the Internet." android:persistent="true" android:title="Dictionary fetch URL" android:defaultValue="http://www.google.com"></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
+  <EditTextPreference\r
+    android:key="@string/fontSizeKey"\r
+    android:title="@string/fontSizeTitle" \r
+    android:summary="@string/fontSizeSummary"\r
+    android:defaultValue="12"\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/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