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

Commit 3bfda445 authored by Fan Zhang's avatar Fan Zhang
Browse files

Align empty views for quicksetting center in detail panel.

Change-Id: I6d0f1eaeee1ea59890cf0589381332a3f3a8fb4e
Fixes: 29981651
parent e6430efb
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -47,11 +47,12 @@
    <com.android.systemui.qs.NonInterceptingScrollView
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1">
        android:layout_weight="1"
        android:fillViewport="true">
        <FrameLayout
            android:id="@android:id/content"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />
            android:layout_height="match_parent"/>
    </com.android.systemui.qs.NonInterceptingScrollView>

    <include layout="@layout/qs_detail_buttons" />
+9 −8
Original line number Diff line number Diff line
@@ -15,7 +15,8 @@
     limitations under the License.
-->
<!-- extends FrameLayout -->
<com.android.systemui.qs.QSDetailItems xmlns:android="http://schemas.android.com/apk/res/android"
<com.android.systemui.qs.QSDetailItems
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:sysui="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
@@ -32,10 +33,10 @@

    <LinearLayout
        android:id="@android:id/empty"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_gravity="center"
        android:gravity="center_horizontal"
        android:gravity="center"
        android:orientation="vertical">

        <ImageView
+1 −1
Original line number Diff line number Diff line
@@ -368,5 +368,5 @@ public class WifiTile extends QSTile<QSTile.SignalState> {
            }
            mItems.setItems(items);
        }
    };
    }
}