diff --git a/app/src/main/java/com/topjohnwu/magisk/ModulesFragment.java b/app/src/main/java/com/topjohnwu/magisk/ModulesFragment.java index 5fad2c3af..26be74989 100644 --- a/app/src/main/java/com/topjohnwu/magisk/ModulesFragment.java +++ b/app/src/main/java/com/topjohnwu/magisk/ModulesFragment.java @@ -108,6 +108,7 @@ public class ModulesFragment extends Fragment { emptyTv.setVisibility(View.VISIBLE); recyclerView.setVisibility(View.GONE); } else { + emptyTv.setVisibility(View.GONE); recyclerView.setVisibility(View.VISIBLE); recyclerView.setAdapter(new ModulesAdapter(listModules)); } diff --git a/app/src/main/res/layout/list_item_app.xml b/app/src/main/res/layout/list_item_app.xml index e80725d6d..98dfa37ba 100644 --- a/app/src/main/res/layout/list_item_app.xml +++ b/app/src/main/res/layout/list_item_app.xml @@ -45,6 +45,7 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" + android:maxLines="1" android:paddingEnd="3dp" android:paddingStart="3dp" android:textStyle="bold"/> diff --git a/app/src/main/res/layout/list_item_module.xml b/app/src/main/res/layout/list_item_module.xml index ca73f206b..6bb5fd6cb 100644 --- a/app/src/main/res/layout/list_item_module.xml +++ b/app/src/main/res/layout/list_item_module.xml @@ -111,19 +111,6 @@ tools:ignore="ContentDescription"/> - - - - - - - - - - - - -