Merge pull request #1530 from Bnyro/master

finer playback speed controls
This commit is contained in:
Bnyro 2022-10-09 19:24:18 +02:00 committed by GitHub
commit b78cb0d0b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View File

@ -9,7 +9,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginHorizontal="10dp" android:layout_marginHorizontal="10dp"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:stepSize="0.25" android:stepSize="0.1"
android:value="1" android:value="1"
android:valueFrom="0" android:valueFrom="0"
android:valueTo="5" /> android:valueTo="5" />

View File

@ -38,9 +38,9 @@
android:id="@+id/speed" android:id="@+id/speed"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:stepSize="0.25" android:stepSize="0.1"
android:value="1.0" android:value="1.0"
android:valueFrom="0.25" android:valueFrom="0.2"
android:valueTo="4.0" /> android:valueTo="4.0" />
<TextView <TextView
@ -52,7 +52,7 @@
android:id="@+id/pitch" android:id="@+id/pitch"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:stepSize="0.25" android:stepSize="0.1"
android:value="1.0" android:value="1.0"
android:valueFrom="0.5" android:valueFrom="0.5"
android:valueTo="2.0" /> android:valueTo="2.0" />

View File

@ -89,9 +89,9 @@
android:icon="@drawable/ic_speed" android:icon="@drawable/ic_speed"
app:defValue="1.0" app:defValue="1.0"
app:key="background_playback_speed" app:key="background_playback_speed"
app:stepSize="0.25" app:stepSize="0.1"
app:title="@string/playback_speed" app:title="@string/playback_speed"
app:valueFrom="0.25" app:valueFrom="0.2"
app:valueTo="4.0" /> app:valueTo="4.0" />
</PreferenceCategory> </PreferenceCategory>

View File

@ -8,9 +8,9 @@
android:icon="@drawable/ic_speed" android:icon="@drawable/ic_speed"
app:defValue="1.0" app:defValue="1.0"
app:key="playback_speed" app:key="playback_speed"
app:stepSize="0.25" app:stepSize="0.1"
app:title="@string/playback_speed" app:title="@string/playback_speed"
app:valueFrom="0.25" app:valueFrom="0.2"
app:valueTo="4.0" /> app:valueTo="4.0" />
<com.github.libretube.ui.views.SliderPreference <com.github.libretube.ui.views.SliderPreference