Should fix #174. Added the ability to set the font size of the content of the article reader.
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 206 B |
Binary file not shown.
|
After Width: | Height: | Size: 134 B |
Binary file not shown.
|
After Width: | Height: | Size: 174 B |
Binary file not shown.
|
After Width: | Height: | Size: 255 B |
Binary file not shown.
|
After Width: | Height: | Size: 311 B |
@@ -164,4 +164,6 @@
|
||||
<string name="pref_switch_actions_pager_scroll">Mark articles as read when swiping between articles.</string>
|
||||
<string name="add_to_favs_reader">Add to favorites</string>
|
||||
<string name="remove_to_favs_reader">Remove from favorites</string>
|
||||
<string name="pref_content_reader_font_size">Article reader content font size</string>
|
||||
<string name="pref_header_viewer">Article viewer</string>
|
||||
</resources>
|
||||
|
||||
@@ -76,9 +76,5 @@
|
||||
android:summaryOff="@string/pref_switch_actions_tap_off"
|
||||
android:summaryOn="@string/pref_switch_actions_tap_on"
|
||||
android:title="@string/pref_switch_actions_tap_title" />
|
||||
<SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="mark_on_scroll"
|
||||
android:title="@string/pref_switch_actions_pager_scroll" />
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
@@ -5,6 +5,12 @@
|
||||
android:icon="@drawable/ic_settings_black_24dp"
|
||||
android:title="@string/pref_header_general"/>
|
||||
|
||||
|
||||
<header
|
||||
android:fragment="apps.amine.bou.readerforselfoss.settings.SettingsActivity$ArticleViewerPreferenceFragment"
|
||||
android:icon="@drawable/ic_chrome_reader_mode_black_24"
|
||||
android:title="@string/pref_header_viewer"/>
|
||||
|
||||
<header
|
||||
android:fragment="apps.amine.bou.readerforselfoss.settings.SettingsActivity$DebugPreferenceFragment"
|
||||
android:icon="@drawable/ic_bug_report"
|
||||
|
||||
14
app/src/main/res/xml/pref_viewer.xml
Normal file
14
app/src/main/res/xml/pref_viewer.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="mark_on_scroll"
|
||||
android:title="@string/pref_switch_actions_pager_scroll" />
|
||||
|
||||
<EditTextPreference
|
||||
android:defaultValue="14"
|
||||
android:inputType="number"
|
||||
android:key="reader_font_size"
|
||||
android:selectAllOnFocus="true"
|
||||
android:singleLine="true"
|
||||
android:title="@string/pref_content_reader_font_size" />
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user