diff options
Diffstat (limited to 'org.fox.ttrss/src/main/res')
-rwxr-xr-x | org.fox.ttrss/src/main/res/layout/dialog_open_link_askcb.xml | 14 | ||||
-rwxr-xr-x | org.fox.ttrss/src/main/res/xml/preferences.xml | 11 |
2 files changed, 25 insertions, 0 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/dialog_open_link_askcb.xml b/org.fox.ttrss/src/main/res/layout/dialog_open_link_askcb.xml new file mode 100755 index 00000000..45fd2af5 --- /dev/null +++ b/org.fox.ttrss/src/main/res/layout/dialog_open_link_askcb.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" android:layout_width="match_parent" + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingTop="@dimen/activity_vertical_margin" + android:layout_height="match_parent"> + + <CheckBox + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Ask me every time" + android:checked="true" + android:id="@+id/open_link_ask_checkbox" /> +</FrameLayout>
\ No newline at end of file diff --git a/org.fox.ttrss/src/main/res/xml/preferences.xml b/org.fox.ttrss/src/main/res/xml/preferences.xml index e8fcdcb6..c9ffd79b 100755 --- a/org.fox.ttrss/src/main/res/xml/preferences.xml +++ b/org.fox.ttrss/src/main/res/xml/preferences.xml @@ -156,6 +156,17 @@ android:summary="@string/prefs_enable_fab_long" android:title="@string/prefs_enable_fab" /> </PreferenceCategory> + <PreferenceCategory android:title="Opening links" > + <org.fox.ttrss.util.LessBrokenSwitchPreference + android:defaultValue="false" + android:key="enable_custom_tabs" + android:summary="Open external links with Chrome custom tabs (faster, used if available)" + android:title="Use quick preview" /> + <org.fox.ttrss.util.LessBrokenSwitchPreference + android:defaultValue="false" + android:key="custom_tabs_ask_always" + android:title="Ask me every time" /> + </PreferenceCategory> <PreferenceCategory android:title="@string/offline_mode" > <ListPreference android:defaultValue="250" |