[skip ci] Added option to select the preferred language for subs (Resolves #239) (#393)

This commit is contained in:
tutel 2024-11-18 20:02:58 +02:00 committed by GitHub
parent 3d4f5aaf4a
commit 9fa326c571
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 149 additions and 4 deletions

View file

@ -225,6 +225,25 @@
app:showText="false"
app:thumbTint="@color/button_switch_track" />
<Button
android:id="@+id/videoSubLanguage"
style="@style/Widget.Material3.Button.TextButton"
android:layout_width="match_parent"
android:layout_height="64dp"
android:layout_marginBottom="8dp"
android:fontFamily="@font/poppins_bold"
android:insetTop="0dp"
android:insetBottom="0dp"
android:paddingHorizontal="32dp"
android:text="@string/subtitle_langauge"
android:textAlignment="viewStart"
android:textAllCaps="false"
android:textColor="@color/bg_opp"
app:cornerRadius="0dp"
app:icon="@drawable/ic_round_subtitles_24"
app:iconPadding="16dp"
app:iconSize="24dp" />
<Button
android:id="@+id/videoSubColorPrimary"
style="@style/Widget.Material3.Button.TextButton"