From 810468c27976cefc0357456169882e631f8afdda Mon Sep 17 00:00:00 2001 From: Viktor De Pasquale Date: Thu, 6 Feb 2020 14:57:12 +0100 Subject: [PATCH] Added offline states for magisk and manager sections --- app/src/main/res/layout/include_home_magisk.xml | 6 ++++-- app/src/main/res/layout/include_home_manager.xml | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/include_home_magisk.xml b/app/src/main/res/layout/include_home_magisk.xml index c7df52d7f..b99a000c6 100644 --- a/app/src/main/res/layout/include_home_magisk.xml +++ b/app/src/main/res/layout/include_home_magisk.xml @@ -107,9 +107,9 @@ + android:layout_width="wrap_content" + android:alpha="@{viewModel.stateCodeMagisk < 0 ? .5f : 1f}"> @@ -149,6 +150,7 @@ diff --git a/app/src/main/res/layout/include_home_manager.xml b/app/src/main/res/layout/include_home_manager.xml index 9e60003e8..bac7eb66d 100644 --- a/app/src/main/res/layout/include_home_manager.xml +++ b/app/src/main/res/layout/include_home_manager.xml @@ -106,6 +106,7 @@ @@ -146,6 +148,7 @@ @@ -163,6 +166,7 @@