Commit f5c3ee3a authored by Viktor De Pasquale's avatar Viktor De Pasquale Committed by John Wu

Added elements of UI to "hide list"

parent 3c7ece16
...@@ -110,6 +110,7 @@ ...@@ -110,6 +110,7 @@
<View <View
style="@style/Widget.Divider.Horizontal" style="@style/Widget.Divider.Horizontal"
gone="@{!viewModel.isConnected}"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_margin="@dimen/margin_generic" /> android:layout_margin="@dimen/margin_generic" />
...@@ -117,6 +118,7 @@ ...@@ -117,6 +118,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:animateLayoutChanges="true" android:animateLayoutChanges="true"
gone="@{!viewModel.isConnected}"
android:onClick="@{() -> viewModel.advancedPressed()}" android:onClick="@{() -> viewModel.advancedPressed()}"
android:orientation="vertical"> android:orientation="vertical">
...@@ -189,7 +191,7 @@ ...@@ -189,7 +191,7 @@
<View <View
style="@style/Widget.Divider.Horizontal" style="@style/Widget.Divider.Horizontal"
gone="@{!viewModel.hasRoot}" gone="@{!viewModel.hasRoot || !viewModel.isConnected}"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_margin="@dimen/margin_generic" /> android:layout_margin="@dimen/margin_generic" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment