Added settings for seekbar-preview-thumbnail

This commit is contained in:
litetex 2021-06-08 21:28:49 +02:00
parent eef568b24c
commit 43133df2ad
4 changed files with 34 additions and 0 deletions

View File

@ -422,6 +422,10 @@
<string name="grid">Raster</string> <string name="grid">Raster</string>
<string name="auto">Automatisch</string> <string name="auto">Automatisch</string>
<string name="switch_view">Ansicht wechseln</string> <string name="switch_view">Ansicht wechseln</string>
<string name="seekbar_preview_thumbnail_title">Vorschaubild der Suchleiste</string>
<string name="high_quality_larger">Hohe Qualität (größer)</string>
<string name="low_quality_smaller">Niedrige Qualität (kleiner)</string>
<string name="dont_show">Nicht anzeigen</string>
<string name="app_update_notification_content_title">Eine NewPipe-Aktualisierung ist verfügbar!</string> <string name="app_update_notification_content_title">Eine NewPipe-Aktualisierung ist verfügbar!</string>
<string name="app_update_notification_content_text">Zum Herunterladen antippen</string> <string name="app_update_notification_content_text">Zum Herunterladen antippen</string>
<string name="missions_header_finished">Fertig</string> <string name="missions_header_finished">Fertig</string>

View File

@ -89,6 +89,21 @@
<item>@string/never</item> <item>@string/never</item>
</string-array> </string-array>
<string name="seekbar_preview_thumbnail_key" translatable="false">seekbar_preview_thumbnail_key</string>
<string name="seekbar_preview_thumbnail_high_quality" translatable="false">seekbar_preview_thumbnail_high_quality</string>
<string name="seekbar_preview_thumbnail_low_quality" translatable="false">seekbar_preview_thumbnail_low_quality</string>
<string name="seekbar_preview_thumbnail_none" translatable="false">seekbar_preview_thumbnail_none</string>
<string-array name="seekbar_preview_thumbnail_type_key" translatable="false">
<item>@string/seekbar_preview_thumbnail_high_quality</item>
<item>@string/seekbar_preview_thumbnail_low_quality</item>
<item>@string/seekbar_preview_thumbnail_none</item>
</string-array>
<string-array name="seekbar_preview_thumbnail_type_description" translatable="false">
<item>@string/high_quality_larger</item>
<item>@string/low_quality_smaller</item>
<item>@string/dont_show</item>
</string-array>
<string name="default_resolution_key" translatable="false">default_resolution</string> <string name="default_resolution_key" translatable="false">default_resolution</string>
<string name="default_resolution_value" translatable="false">720p60</string> <string name="default_resolution_value" translatable="false">720p60</string>
<string name="show_higher_resolutions_key" translatable="false">show_higher_resolutions</string> <string name="show_higher_resolutions_key" translatable="false">show_higher_resolutions</string>

View File

@ -587,6 +587,11 @@
<string name="grid">Grid</string> <string name="grid">Grid</string>
<string name="auto">Auto</string> <string name="auto">Auto</string>
<string name="switch_view">Switch View</string> <string name="switch_view">Switch View</string>
<!-- Seekbar Preview Thumbnail-->
<string name="seekbar_preview_thumbnail_title">Seekbar thumbnail preview</string>
<string name="high_quality_larger">High quality (larger)</string>
<string name="low_quality_smaller">Low quality (smaller)</string>
<string name="dont_show">Don\'t show</string>
<!-- App update notification --> <!-- App update notification -->
<string name="app_update_notification_content_title">NewPipe update is available!</string> <string name="app_update_notification_content_title">NewPipe update is available!</string>
<string name="app_update_notification_content_text">Tap to download</string> <string name="app_update_notification_content_text">Tap to download</string>

View File

@ -79,6 +79,16 @@
android:summary="@string/show_play_with_kodi_summary" android:summary="@string/show_play_with_kodi_summary"
android:title="@string/show_play_with_kodi_title" android:title="@string/show_play_with_kodi_title"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<ListPreference
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:defaultValue="seekbar_preview_thumbnail_high_quality"
android:entries="@array/seekbar_preview_thumbnail_type_description"
android:entryValues="@array/seekbar_preview_thumbnail_type_key"
android:key="@string/seekbar_preview_thumbnail_key"
android:summary="%s"
android:title="@string/seekbar_preview_thumbnail_title"
app:iconSpaceReserved="false" />
</PreferenceCategory> </PreferenceCategory>