Refine layout

This commit is contained in:
Mygod
2018-01-04 19:13:31 +08:00
parent 144911e641
commit 6e4c997f8c

View File

@@ -24,7 +24,6 @@
<Switch <Switch
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginEnd="16dp"
android:enabled="@{data.switchEnabled}" android:enabled="@{data.switchEnabled}"
android:checked="@{data.serviceStarted}" android:checked="@{data.serviceStarted}"
android:onCheckedChanged="@{(_, checked) -> data.setServiceStarted(checked)}" android:onCheckedChanged="@{(_, checked) -> data.setServiceStarted(checked)}"