mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
New option: Switch to landscape orientation in video player automatically.
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ml.docilealligator.infinityforreddit.customviews.ClickableMotionLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/motion_layout"
|
||||
tools:context=".activities.MotionTestActivity"
|
||||
app:layoutDescription="@xml/activity_motion_test_scene">
|
||||
|
||||
<View
|
||||
android:id="@+id/button"
|
||||
android:background="@color/colorAccent"
|
||||
android:layout_width="64dp"
|
||||
android:layout_height="64dp" />
|
||||
|
||||
</ml.docilealligator.infinityforreddit.customviews.ClickableMotionLayout>
|
@@ -585,6 +585,7 @@
|
||||
<string name="settings_nsfw_and_spoiler_dangerous_group_title">Dangerous</string>
|
||||
<string name="settings_disable_nsfw_forever_title">Disable NSFW Forever</string>
|
||||
<string name="settings_show_only_one_comment_level_indicator">Show Only One Comment Level Indicator</string>
|
||||
<string name="settings_video_player_automatic_landscape_orientation">Switch to Landscape Orientation in Video Player Automatically</string>
|
||||
|
||||
<string name="no_link_available">Cannot get the link</string>
|
||||
|
||||
|
@@ -25,6 +25,11 @@
|
||||
app:title="@string/settings_video_player_ignore_nav_bar_title"
|
||||
app:summary="@string/settings_video_player_ignore_nav_bar_summary" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="false"
|
||||
app:key="video_player_automatic_landscape_orientation"
|
||||
app:title="@string/settings_video_player_automatic_landscape_orientation" />
|
||||
|
||||
<PreferenceCategory
|
||||
app:title="@string/settings_video_autoplay_title" />
|
||||
|
||||
|
Reference in New Issue
Block a user