mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-04-23 01:18:30 +00:00
Use switch instead of checkbox as 'do not ask again' input in dialogs
This commit is contained in:
parent
03edd0528b
commit
2fc7b2f5c7
1 changed files with 2 additions and 3 deletions
|
|
@ -108,11 +108,10 @@
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:visibility="@{viewModel.showDoNotAskAgain ? View.VISIBLE : View.GONE}">
|
android:visibility="@{viewModel.showDoNotAskAgain ? View.VISIBLE : View.GONE}">
|
||||||
|
|
||||||
<CheckBox
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
||||||
android:checked="@={viewModel.doNotAskAgain}"
|
android:checked="@={viewModel.doNotAskAgain}"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content" />
|
||||||
android:button="@drawable/checkbox" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
style="@style/dialog_message_font"
|
style="@style/dialog_message_font"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue