]> 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 f7a6feb..d52c300
@@ -1,7 +1,53 @@
 <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
+  <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