[Android] Keep manual search checkbox selected
Habib Kazemi
git at videolan.org
Wed Dec 5 11:10:36 CET 2018
vlc-android | branch: master | Habib Kazemi <kazemihabib1996 at gmail.com> | Sun Nov 25 19:08:28 2018 +0330| [335b140a4d56f892b43a9045f61ebe43a1b7ce96] | committer: Geoffrey Métais
Keep manual search checkbox selected
Signed-off-by: Geoffrey Métais <geoffrey.metais at gmail.com>
> https://code.videolan.org/videolan/vlc-android/commit/335b140a4d56f892b43a9045f61ebe43a1b7ce96
---
vlc-android/res/layout/subtitle_download_fragment.xml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/vlc-android/res/layout/subtitle_download_fragment.xml b/vlc-android/res/layout/subtitle_download_fragment.xml
index 5a0d971bc..76018ed3e 100644
--- a/vlc-android/res/layout/subtitle_download_fragment.xml
+++ b/vlc-android/res/layout/subtitle_download_fragment.xml
@@ -13,7 +13,6 @@
android:id="@+id/constraintLayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
-
<org.videolan.vlc.gui.MultiSelectionSpinner
android:id="@+id/language_list_spinner"
android:layout_width="wrap_content"
@@ -41,6 +40,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:onCheckedChanged="@{(v, checked) -> viewmodel.onCheckedChanged(checked)}"
+ android:checked="@{viewmodel.manualSearchEnabled}"
android:paddingStart="0dp"
android:focusable="true"
android:text="@string/manual_search"
@@ -176,6 +176,5 @@
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/left_vertical_guideline"
app:layout_goneMarginTop="40dp" />
-
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>
More information about the Android
mailing list