Added elements of UI to "hide list"

This commit is contained in:
Viktor De Pasquale 2019-08-07 07:24:06 +02:00 committed by John Wu
parent 3c7ece1605
commit f5c3ee3ae1

View File

@ -110,6 +110,7 @@
<View
style="@style/Widget.Divider.Horizontal"
gone="@{!viewModel.isConnected}"
android:layout_width="match_parent"
android:layout_margin="@dimen/margin_generic" />
@ -117,6 +118,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:animateLayoutChanges="true"
gone="@{!viewModel.isConnected}"
android:onClick="@{() -> viewModel.advancedPressed()}"
android:orientation="vertical">
@ -189,7 +191,7 @@
<View
style="@style/Widget.Divider.Horizontal"
gone="@{!viewModel.hasRoot}"
gone="@{!viewModel.hasRoot || !viewModel.isConnected}"
android:layout_width="match_parent"
android:layout_margin="@dimen/margin_generic" />