New option: Pinch to Zoom Video.

This commit is contained in:
Alex Ning
2021-10-14 20:57:22 +08:00
parent c8c3c23093
commit a8f21a94b0
6 changed files with 40 additions and 3 deletions

View File

@@ -10,7 +10,8 @@
app:dragUpEnabled="true"
tools:application="ml.docilealligator.infinityforreddit.activities.ViewVideoActivity">
<androidx.core.widget.NestedScrollView
<app.futured.hauler.LockableNestedScrollView
android:id="@+id/lockable_nested_scroll_view_view_video_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
@@ -45,6 +46,6 @@
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</androidx.core.widget.NestedScrollView>
</app.futured.hauler.LockableNestedScrollView>
</app.futured.hauler.HaulerView>

View File

@@ -613,6 +613,8 @@
<string name="settings_link_handler_value_custom_tab">Custom Tab</string>
<string name="settings_link_handler_value_internal_browser">Internal Browser</string>
<string name="settings_legacy_autoplay_video_controller_ui_title">Legacy Video Controller UI</string>
<string name="settings_pinch_to_zoom_video_title">Pinch to Zoom Video</string>
<string name="settings_experimental_feature">Experimental feature</string>
<string name="no_link_available">Cannot get the link</string>

View File

@@ -54,6 +54,12 @@
app:key="swipe_between_posts"
app:title="@string/settings_swipe_between_posts_title" />
<SwitchPreference
app:defaultValue="false"
app:key="pinch_to_zoom_video"
app:title="@string/settings_pinch_to_zoom_video_title"
app:summary="@string/settings_experimental_feature" />
<Preference
app:title="@string/settings_swipe_action_title"
app:fragment="ml.docilealligator.infinityforreddit.settings.SwipeActionPreferenceFragment" />