1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2025-12-08 21:31:10 +01:00

Made SettingsActivity use correct sharedPrefs, made FontSize and loadImages preferences work, removed unused code, moved webview initialization code in own method

This commit is contained in:
vanitasvitae 2016-06-16 22:55:06 +02:00
parent 8466c279bb
commit 766a854a92
5 changed files with 66 additions and 152 deletions

View file

@ -14,9 +14,9 @@
</array>
<!-- prefix 's' is needed to make this a string array. Otherwise ListPreference would crash -->
<array name="pref_entry_values_font_size" translatable="false">
<item>s8</item>
<item>s16</item>
<item>s20</item>
<item>normal</item>
<item>large</item>
<item>huge</item>
</array>
<!-- Mobile/Desktop view -->
<string name="pref_title_desktop_view">Desktop mode</string>

View file

@ -6,8 +6,8 @@
<ListPreference
android:title="@string/pref_title_font_size"
android:key="pref_key_font_size"
android:summary="%s"
android:dialogTitle="@string/pref_title_font_size"
android:summary="%s"
android:entries="@array/pref_entries_font_size"
android:entryValues="@array/pref_entry_values_font_size" />
<CheckBoxPreference