Use switch instead of checkbox as 'do not ask again' input in dialogs
This commit is contained in:
parent
715a3c3074
commit
f09c0904d0
1 changed files with 2 additions and 3 deletions
|
@ -108,11 +108,10 @@
|
|||
android:orientation="horizontal"
|
||||
android:visibility="@{viewModel.showDoNotAskAgain ? View.VISIBLE : View.GONE}">
|
||||
|
||||
<CheckBox
|
||||
<com.google.android.material.switchmaterial.SwitchMaterial
|
||||
android:checked="@={viewModel.doNotAskAgain}"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/checkbox" />
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<TextView
|
||||
style="@style/dialog_message_font"
|
||||
|
|
Loading…
Reference in a new issue