Merge pull request #4444 from Bnyro/master

refactor: change skip silence button from switch to checkbox
This commit is contained in:
Bnyro 2023-08-13 11:19:17 +02:00 committed by GitHub
commit c28dc5dcd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,28 +106,15 @@
</LinearLayout> </LinearLayout>
<LinearLayout <com.google.android.material.checkbox.MaterialCheckBox
android:id="@+id/skip_silence"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:orientation="horizontal"
android:paddingHorizontal="20dp">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_weight="1" android:layout_marginHorizontal="20dp"
android:text="@string/skip_silence" android:layout_marginTop="10dp"
android:textSize="18sp" /> android:paddingHorizontal="10dp"
android:text="@string/skip_silence" />
<com.google.android.material.materialswitch.MaterialSwitch
android:id="@+id/skip_silence"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center" />
</LinearLayout>
</LinearLayout> </LinearLayout>