Fixed views hiding the view below with them

This commit is contained in:
Viktor De Pasquale 2020-02-01 14:48:05 +01:00 committed by John Wu
parent 1d831d65f3
commit cbe3602cb7
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@
<FrameLayout <FrameLayout
android:id="@+id/home_magisk_action" android:id="@+id/home_magisk_action"
gone="@{viewModel.stateMagisk == MagiskState.LOADING || !viewModel.isConnected}" invisible="@{viewModel.stateMagisk == MagiskState.LOADING || !viewModel.isConnected}"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="@+id/home_magisk_title" app:layout_constraintBottom_toBottomOf="@+id/home_magisk_title"

View File

@ -49,7 +49,7 @@
<FrameLayout <FrameLayout
android:id="@+id/home_manager_action" android:id="@+id/home_manager_action"
gone="@{viewModel.stateMagisk == MagiskState.LOADING || !viewModel.isConnected}" invisible="@{viewModel.stateMagisk == MagiskState.LOADING || !viewModel.isConnected}"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="@+id/home_manager_title" app:layout_constraintBottom_toBottomOf="@+id/home_manager_title"