Added elements of UI to "hide list"
This commit is contained in:
parent
3c7ece1605
commit
f5c3ee3ae1
@ -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 @@
|
|||||||
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 @@
|
|||||||
|
|
||||||
<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" />
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user