Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 15ef10b7 authored by Joel Galenson's avatar Joel Galenson
Browse files

Fix "no permission usages" overlap.

Fixes: 123519471
Test: When opening the Permissions Hub with no usages, "no permission
usages" text is below the spinners.
Test: Scrolling still scrolls the whole screen, including headers.

Change-Id: I80d0c1353673d28065166daf71939d4ffc99c6f0
parent 7c592e25
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -27,10 +27,11 @@
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <FrameLayout
            <LinearLayout
                android:id="@+id/prefs_container"
                android:layout_width="match_parent"
                android:layout_height="match_parent">
                android:layout_height="match_parent"
                android:orientation="vertical">

                <TextView
                    android:id="@+id/no_permissions"
@@ -40,7 +41,7 @@
                    style="?android:attr/textAppearanceLarge">
                </TextView>

            </FrameLayout>
            </LinearLayout>

        </androidx.core.widget.NestedScrollView>

+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ public abstract class PermissionsFrameFragment extends PreferenceFragmentCompat
        mPreferencesContainer = (ViewGroup) super.onCreateView(
                inflater, mPrefsView, savedInstanceState);
        setLoading(mIsLoading, false, true /* force */);
        mPrefsView.addView(mPreferencesContainer);
        mPrefsView.addView(mPreferencesContainer, 0);
        return rootView;
    }